diff --git a/Dockerfile b/Dockerfile index 3f96935..7997dc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM archlinux:latest +FROM archlinux:latest as compiler ARG YESACCEPT=n RUN echo "this is $YESACCEPT" @@ -32,7 +32,7 @@ RUN test "$YESACCEPT" = "y" || { printf "\033[31;1;4m%s\n%s\033[0m " "FAILED TO RUN echo you selected to accept the licenses/TOS RUN echo "$YESACCEPT" | sdkmanager --install "build-tools;33.0.2" RUN echo "$YESACCEPT" | sdkmanager --install "platforms;android-33" -RUN echo "$YESACCEPT" | sdkmanager --install "ndk;28.0.12433566" +#RUN echo "$YESACCEPT" | sdkmanager --install "ndk;28.0.12433566" #RUN echo "$YESACCEPT" | sdkmanager --install "system-images;android-33;aosp_atd;x86_64" #RUN echo "$YESACCEPT" | sdkmanager --install "emulator" #RUN echo "no" | avdmanager --verbose create avd --force --name "thedevice" --package 'system-images;android-33;aosp_atd;x86_64' --tag "aosp_atd" --abi "x86_64" diff --git a/Makefile.make.Makefile.apps.sh b/Makefile.make.Makefile.apps.sh index 5659ea4..73c1ef7 100755 --- a/Makefile.make.Makefile.apps.sh +++ b/Makefile.make.Makefile.apps.sh @@ -7,6 +7,7 @@ do test -d "$APP" || continue; APP="${APP%/}"; cat << MAKEFILE +## $APP apps/.files.$APP: FORCE cmp -q <(cd apps/$APP; find -type f -ls) apps/.files."$APP" || (cd apps/$APP; find -type f -ls) > apps/.files."$APP" apps/$APP/app.apk: docker-compose-build.log apps/.files.$APP diff --git a/Makefile.make.new-app.sh b/Makefile.make.new-app.sh index 7cd6e29..573fdc6 100755 --- a/Makefile.make.new-app.sh +++ b/Makefile.make.new-app.sh @@ -1,19 +1,24 @@ #!/bin/bash -set -xe +pwd +id + +set -e + #APP_NAME while test -z "${APP_NAME:-}" do - read -p "Please provide a Name for the Android App:" APP_NAME + read -p "Please provide a Name for the Android App: " APP_NAME done + #APP_PACKAGE while test -z "${APP_PACKAGE:-}" do APP_PACKAGE_DEFAULT="${APP_NAME,,}" APP_PACKAGE_DEFAULT="${APP_PACKAGE_DEFAULT//[!a-z0-9]/_}" - read -p "Please provide a Package.Name for the App [default=$APP_PACKAGE_DEFAULT]:" APP_PACKAGE + read -p "Please provide a Package.Name for the App [default=$APP_PACKAGE_DEFAULT]: " APP_PACKAGE APP_PACKAGE="${APP_PACKAGE:-$APP_PACKAGE_DEFAULT}" APP_PACKAGE="${APP_PACKAGE,,}" APP_PACKAGE="${APP_PACKAGE//[!a-z0-9\.]/}" @@ -24,70 +29,123 @@ do done -#APP_TARGET_VERSION -while test -z "${APP_TARGET_VERSION:-}" +#APP_FOLDER +while test -z "${APP_FOLDER:-}" do - cat << API_LEVEL -read -p "Please choose the APP_TARGET_VERSION Apilevel:' -35 = Android 15 = 2024 -34 = Android 14 = 2023 -33 = Android 13 = 2022 -32 = Android 12L = 2022 -31 = Android 12 = 2021 -30 = Android 11 = 2020 -20 = Android 10 = 2019 -(see https://apilevels.com/ for more info) -API_LEVEL - APP_TARGET_VERSION_DEFAULT="33" - read -p "Please choose [default=$APP_TARGET_VERSION_DEFAULT]:" APP_TARGET_VERSION - APP_TARGET_VERSION="${APP_TARGET_VERSION:-$APP_TARGET_VERSION_DEFAULT}" - test "$APP_TARGET_VERSION" -gt 0 || { - echo "Error: APP_TARGET_VERSION 'APP_TARGET_VERSION' is not valid" - APP_TARGET_VERSION=''; + APP_FOLDER_DEFAULT="./apps/${APP_PACKAGE}" + read -p "Please provide a a path where to setup the Android App Skeleton[default=$APP_FOLDER_DEFAULT]: " APP_FOLDER + APP_FOLDER="${APP_FOLDER:-$APP_FOLDER_DEFAULT}" + test -d "$APP_FOLDER" && { + echo "There is already a folder at '$APP_FOLDER'. Choose other APP_PACKAGE name" >&2 + APP_FOLDER="" } done +#APP_VERSION_SDK_TARGET +while test -z "${APP_VERSION_SDK_TARGET:-}" +do + cat << API_LEVELS +read -p "please choose the APP_VERSION_SDK_TARGET apilevel:' +35 = android 15 = 2024 +34 = android 14 = 2023 +33 = android 13 = 2022 +32 = android 12l = 2022 +31 = android 12 = 2021 +30 = android 11 = 2020 +20 = android 10 = 2019 +(see https://apilevels.com/ for more info) +API_LEVELS + APP_VERSION_SDK_TARGET_DEFAULT="33" + read -p "please choose [default=$APP_VERSION_SDK_TARGET_DEFAULT]: " APP_VERSION_SDK_TARGET + APP_VERSION_SDK_TARGET="${APP_VERSION_SDK_TARGET:-$APP_VERSION_SDK_TARGET_DEFAULT}" + test "$APP_VERSION_SDK_TARGET" -gt 0 || { + echo "error: APP_VERSION_SDK_TARGET 'APP_VERSION_SDK_TARGET' is not valid" + APP_VERSION_SDK_TARGET=''; + } +done + +#APP_VERSION_SDK_MIN +while test -z "${APP_VERSION_SDK_MIN:-}" +do + cat << API_LEVELS +read -p "please choose the APP_VERSION_SDK_MIN apilevel:' +35 = android 15 = 2024 +34 = android 14 = 2023 +33 = android 13 = 2022 +32 = android 12l = 2022 +31 = android 12 = 2021 +30 = android 11 = 2020 +20 = android 10 = 2019 +(see https://apilevels.com/ for more info) +API_LEVELS + +APP_VERSION_SDK_MIN_DEFAULT="$(( $APP_VERSION_SDK_TARGET - 2))" +test "$APP_VERSION_SDK_MIN_DEFAULT" -lt 1 && APP_VERSION_SDK_MIN_DEFAULT=1 + read -p "please choose [default=$APP_VERSION_SDK_MIN_DEFAULT]: " APP_VERSION_SDK_MIN + APP_VERSION_SDK_MIN="${APP_VERSION_SDK_MIN:-$APP_VERSION_SDK_MIN_DEFAULT}" + test "$APP_VERSION_SDK_MIN" -gt 0 || { + echo "error: APP_VERSION_SDK_MIN 'APP_VERSION_SDK_MIN' is not valid" + APP_VERSION_SDK_MIN=''; + } +done + +APP_PERMISSIONS="$(cat << APP_PERMISSIONS_EOF + + + + + + + + + + + + + + + + + + +APP_PERMISSIONS_EOF +)" + + +mkdir -p "$APP_FOLDER" + + +APP_VALUES="$(tee "${APP_FOLDER}/values.sh" << VALUES +APP_NAME='$APP_NAME' +APP_PACKAGE='$APP_PACKAGE' +APP_FOLDER='$APP_FOLDER' +APP_VERSION_SDK_TARGET='$APP_VERSION_SDK_TARGET' +APP_VERSION_SDK_MINTARGET='$APP_VERSION_SDK_TARGET' +APP_PERMISSIONS='$APP_PERMISSIONS' +VALUES +)" + cat << INFO Creating an skeleton for an Android app with the following info: -APP_PACKAGE: ${APP_PACKAGE} -APP_NAME: ${APP_NAME} +$APP_VALUES INFO -mkdir -p "apps/$APP_PACKAGE" -cat > "apps/$APP_PACKAGE/AndroidManifest.xml" << ANDROIDMANIFEST +cat > "${APP_FOLDER}/AndroidManifest.xml" << ANDROIDMANIFEST - - - - - - - - - - - - - - - - - - - - - - +$(sed 's/^/ /' <<< "$APP_PERMISSIONS") + + + android:label="$APP_NAME"> @@ -96,3 +154,4 @@ cat > "apps/$APP_PACKAGE/AndroidManifest.xml" << ANDROIDMANIFEST ANDROIDMANIFEST + diff --git a/compose.yml b/compose.yml index 8927380..800a6b6 100644 --- a/compose.yml +++ b/compose.yml @@ -1,4 +1,16 @@ services: + new-app: + build: + dockerfile_inline: | + FROM alpine:latest + RUN apk add newt bash + WORKDIR /compose + + hostname: "${DOCKER:-$(echo hallo2)}" + entrypoint: ["/entrypoint.sh"] + volumes: + - ./Makefile.make.new-app.sh:/entrypoint.sh + - ./:/compose compile: hostname: thinkbox build: @@ -6,11 +18,7 @@ services: args: YESACCEPT: ${YESACCEPT:-} stop_grace_period: 1s - environment: - XAUTHORITY: /root/.Xauthority - DISPLAY: ":0" volumes: - ./apps:/apps - - /home/alex/.Xauthority:/root/.Xauthority:ro diff --git a/permissions.html b/permissions.html new file mode 100644 index 0000000..2b69a4c --- /dev/null +++ b/permissions.html @@ -0,0 +1,4050 @@ + + +

Constants

+ + + + + String + + ACCEPT_HANDOVER +

Allows a calling app to continue a call which was started in another app. + + +

+ + + + + + String + + ACCESS_BACKGROUND_LOCATION +

Allows an app to access location in the background. + + +

+ + + + + + String + + ACCESS_BLOBS_ACROSS_USERS +

Allows an application to access data blobs across users. + + +

+ + + + + + String + + ACCESS_CHECKIN_PROPERTIES +

Allows read/write access to the "properties" table in the checkin + database, to change values that get uploaded. + + +

+ + + + + + String + + ACCESS_COARSE_LOCATION +

Allows an app to access approximate location. + + +

+ + + + + + String + + ACCESS_FINE_LOCATION +

Allows an app to access precise location. + + +

+ + + + + + String + + ACCESS_HIDDEN_PROFILES +

Allows applications to access profiles with + android.content.pm.UserProperties#PROFILE_API_VISIBILITY_HIDDEN user property, e.g. + + +

+ + + + + + String + + ACCESS_LOCATION_EXTRA_COMMANDS +

Allows an application to access extra location provider commands. + + +

+ + + + + + String + + ACCESS_MEDIA_LOCATION +

Allows an application to access any geographic locations persisted in the + user's shared collection. + + +

+ + + + + + String + + ACCESS_NETWORK_STATE +

Allows applications to access information about networks. + + +

+ + + + + + String + + ACCESS_NOTIFICATION_POLICY +

Marker permission for applications that wish to access notification policy. + + +

+ + + + + + String + + ACCESS_WIFI_STATE +

Allows applications to access information about Wi-Fi networks. + + +

+ + + + + + String + + ACCOUNT_MANAGER +

Allows applications to call into AccountAuthenticators. + + +

+ + + + + + String + + ACTIVITY_RECOGNITION +

Allows an application to recognize physical activity. + + +

+ + + + + + String + + ADD_VOICEMAIL +

Allows an application to add voicemails into the system. + + +

+ + + + + + String + + ANSWER_PHONE_CALLS +

Allows the app to answer an incoming phone call. + + +

+ + + + + + String + + BATTERY_STATS +

Allows an application to collect battery statistics +

Protection level: signature|privileged|development + + +

+ + + + + + String + + BIND_ACCESSIBILITY_SERVICE +

Must be required by an AccessibilityService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_APPWIDGET +

Allows an application to tell the AppWidget service which application + can access AppWidget's data. + + +

+ + + + + + String + + BIND_APP_FUNCTION_SERVICE +

Must be required by an AppFunctionService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_AUTOFILL_SERVICE +

Must be required by a AutofillService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_CALL_REDIRECTION_SERVICE +

Must be required by a CallRedirectionService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_CARRIER_MESSAGING_CLIENT_SERVICE +

A subclass of CarrierMessagingClientService must be protected with this permission. + + +

+ + + + + + String + + BIND_CARRIER_MESSAGING_SERVICE +

+ This constant was deprecated + in API level 23. + Use BIND_CARRIER_SERVICES instead + + +

+ + + + + + String + + BIND_CARRIER_SERVICES +

The system process that is allowed to bind to services in carrier apps will + have this permission. + + +

+ + + + + + String + + BIND_CHOOSER_TARGET_SERVICE +

+ This constant was deprecated + in API level 30. + For publishing direct share targets, please follow the instructions in + https://developer.android.com/training/sharing/receive.html#providing-direct-share-targets + instead. + + +

+ + + + + + String + + BIND_COMPANION_DEVICE_SERVICE +

Must be required by any + CompanionDeviceServices + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_CONDITION_PROVIDER_SERVICE +

Must be required by a ConditionProviderService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_CONTROLS +

Allows SystemUI to request third party controls. + + +

+ + + + + + String + + BIND_CREDENTIAL_PROVIDER_SERVICE +

Must be required by a CredentialProviderService to ensure that only the + system can bind to it. + + +

+ + + + + + String + + BIND_DEVICE_ADMIN +

Must be required by device administration receiver, to ensure that only the + system can interact with it. + + +

+ + + + + + String + + BIND_DREAM_SERVICE +

Must be required by an DreamService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_INCALL_SERVICE +

Must be required by a InCallService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_INPUT_METHOD +

Must be required by an InputMethodService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_MIDI_DEVICE_SERVICE +

Must be required by an MidiDeviceService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_NFC_SERVICE +

Must be required by a HostApduService + or OffHostApduService to ensure that only + the system can bind to it. + + +

+ + + + + + String + + BIND_NOTIFICATION_LISTENER_SERVICE +

Must be required by an NotificationListenerService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_PRINT_SERVICE +

Must be required by a PrintService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_QUICK_ACCESS_WALLET_SERVICE +

Must be required by a QuickAccessWalletService + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_QUICK_SETTINGS_TILE +

Allows an application to bind to third party quick settings tiles. + + +

+ + + + + + String + + BIND_REMOTEVIEWS +

Must be required by a RemoteViewsService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_SCREENING_SERVICE +

Must be required by a CallScreeningService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_TELECOM_CONNECTION_SERVICE +

Must be required by a ConnectionService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_TEXT_SERVICE +

Must be required by a TextService (e.g. SpellCheckerService) + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_TV_INPUT +

Must be required by a TvInputService + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_TV_INTERACTIVE_APP +

Must be required by a TvInteractiveAppService + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_VISUAL_VOICEMAIL_SERVICE +

Must be required by a link VisualVoicemailService to ensure that + only the system can bind to it. + + +

+ + + + + + String + + BIND_VOICE_INTERACTION +

Must be required by a VoiceInteractionService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_VPN_SERVICE +

Must be required by a VpnService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BIND_VR_LISTENER_SERVICE +

Must be required by an VrListenerService, to ensure that only + the system can bind to it. + + +

+ + + + + + String + + BIND_WALLPAPER +

Must be required by a WallpaperService, + to ensure that only the system can bind to it. + + +

+ + + + + + String + + BLUETOOTH +

Allows applications to connect to paired bluetooth devices. + + +

+ + + + + + String + + BLUETOOTH_ADMIN +

Allows applications to discover and pair bluetooth devices. + + +

+ + + + + + String + + BLUETOOTH_ADVERTISE +

Required to be able to advertise to nearby Bluetooth devices. + + +

+ + + + + + String + + BLUETOOTH_CONNECT +

Required to be able to connect to paired Bluetooth devices. + + +

+ + + + + + String + + BLUETOOTH_PRIVILEGED +

Allows applications to pair bluetooth devices without user interaction, and to + allow or disallow phonebook access or message access. + + +

+ + + + + + String + + BLUETOOTH_SCAN +

Required to be able to discover and pair nearby Bluetooth devices. + + +

+ + + + + + String + + BODY_SENSORS +

Allows an application to access data from sensors that the user uses to + measure what is happening inside their body, such as heart rate. + + +

+ + + + + + String + + BODY_SENSORS_BACKGROUND +

Allows an application to access data from sensors that the user uses to measure what is + happening inside their body, such as heart rate. + + +

+ + + + + + String + + BROADCAST_PACKAGE_REMOVED +

Allows an application to broadcast a notification that an application + package has been removed. + + +

+ + + + + + String + + BROADCAST_SMS +

Allows an application to broadcast an SMS receipt notification. + + +

+ + + + + + String + + BROADCAST_STICKY +

Allows an application to broadcast sticky intents. + + +

+ + + + + + String + + BROADCAST_WAP_PUSH +

Allows an application to broadcast a WAP PUSH receipt notification. + + +

+ + + + + + String + + CALL_COMPANION_APP +

Allows an app which implements the + InCallService API to be eligible to be enabled as a + calling companion app. + + +

+ + + + + + String + + CALL_PHONE +

Allows an application to initiate a phone call without going through + the Dialer user interface for the user to confirm the call. + + +

+ + + + + + String + + CALL_PRIVILEGED +

Allows an application to call any phone number, including emergency + numbers, without going through the Dialer user interface for the user + to confirm the call being placed. + + +

+ + + + + + String + + CAMERA +

Required to be able to access the camera device. + + +

+ + + + + + String + + CAPTURE_AUDIO_OUTPUT +

Allows an application to capture audio output. + + +

+ + + + + + String + + CHANGE_COMPONENT_ENABLED_STATE +

Allows an application to change whether an application component (other than its own) is + enabled or not. + + +

+ + + + + + String + + CHANGE_CONFIGURATION +

Allows an application to modify the current configuration, such + as locale. + + +

+ + + + + + String + + CHANGE_NETWORK_STATE +

Allows applications to change network connectivity state. + + +

+ + + + + + String + + CHANGE_WIFI_MULTICAST_STATE +

Allows applications to enter Wi-Fi Multicast mode. + + +

+ + + + + + String + + CHANGE_WIFI_STATE +

Allows applications to change Wi-Fi connectivity state. + + +

+ + + + + + String + + CLEAR_APP_CACHE +

Allows an application to clear the caches of all installed + applications on the device. + + +

+ + + + + + String + + CONFIGURE_WIFI_DISPLAY +

Allows an application to configure and connect to Wifi displays + + +

+ + + + + + String + + CONTROL_LOCATION_UPDATES +

Allows enabling/disabling location update notifications from + the radio. + + +

+ + + + + + String + + CREDENTIAL_MANAGER_QUERY_CANDIDATE_CREDENTIALS +

Allows a browser to invoke the set of query apis to get metadata about credential + candidates prepared during the CredentialManager.prepareGetCredential API. + + +

+ + + + + + String + + CREDENTIAL_MANAGER_SET_ALLOWED_PROVIDERS +

Allows specifying candidate credential providers to be queried in Credential Manager + get flows, or to be preferred as a default in the Credential Manager create flows. + + +

+ + + + + + String + + CREDENTIAL_MANAGER_SET_ORIGIN +

Allows a browser to invoke credential manager APIs on behalf of another RP. + + +

+ + + + + + String + + DELETE_CACHE_FILES +

Old permission for deleting an app's cache files, no longer used, + but signals for us to quietly ignore calls instead of throwing an exception. + + +

+ + + + + + String + + DELETE_PACKAGES +

Allows an application to delete packages. + + +

+ + + + + + String + + DELIVER_COMPANION_MESSAGES +

Allows an application to deliver companion messages to system + + +

+ + + + + + String + + DETECT_SCREEN_CAPTURE +

Allows an application to get notified when a screen capture of its windows is attempted. + + +

+ + + + + + String + + DETECT_SCREEN_RECORDING +

Allows an application to get notified when it is being recorded. + + +

+ + + + + + String + + DIAGNOSTIC +

Allows applications to RW to diagnostic resources. + + +

+ + + + + + String + + DISABLE_KEYGUARD +

Allows applications to disable the keyguard if it is not secure. + + +

+ + + + + + String + + DUMP +

Allows an application to retrieve state dump information from system services. + + +

+ + + + + + String + + ENFORCE_UPDATE_OWNERSHIP +

Allows an application to indicate via PackageInstaller.SessionParams.setRequestUpdateOwnership(boolean) + that it has the intention of becoming the update owner. + + +

+ + + + + + String + + EXECUTE_APP_ACTION +

Allows an assistive application to perform actions on behalf of users inside of + applications. + + +

+ + + + + + String + + EXPAND_STATUS_BAR +

Allows an application to expand or collapse the status bar. + + +

+ + + + + + String + + FACTORY_TEST +

Run as a manufacturer test application, running as the root user. + + +

+ + + + + + String + + FOREGROUND_SERVICE +

Allows a regular application to use Service.startForeground. + + +

+ + + + + + String + + FOREGROUND_SERVICE_CAMERA +

Allows a regular application to use Service.startForeground with the type "camera". + + +

+ + + + + + String + + FOREGROUND_SERVICE_CONNECTED_DEVICE +

Allows a regular application to use Service.startForeground with the type "connectedDevice". + + +

+ + + + + + String + + FOREGROUND_SERVICE_DATA_SYNC +

Allows a regular application to use Service.startForeground with the type "dataSync". + + +

+ + + + + + String + + FOREGROUND_SERVICE_HEALTH +

Allows a regular application to use Service.startForeground with the type "health". + + +

+ + + + + + String + + FOREGROUND_SERVICE_LOCATION +

Allows a regular application to use Service.startForeground with the type "location". + + +

+ + + + + + String + + FOREGROUND_SERVICE_MEDIA_PLAYBACK +

Allows a regular application to use Service.startForeground with the type "mediaPlayback". + + +

+ + + + + + String + + FOREGROUND_SERVICE_MEDIA_PROCESSING +

Allows a regular application to use Service.startForeground with the type "mediaProcessing". + + +

+ + + + + + String + + FOREGROUND_SERVICE_MEDIA_PROJECTION +

Allows a regular application to use Service.startForeground with the type "mediaProjection". + + +

+ + + + + + String + + FOREGROUND_SERVICE_MICROPHONE +

Allows a regular application to use Service.startForeground with the type "microphone". + + +

+ + + + + + String + + FOREGROUND_SERVICE_PHONE_CALL +

Allows a regular application to use Service.startForeground with the type "phoneCall". + + +

+ + + + + + String + + FOREGROUND_SERVICE_REMOTE_MESSAGING +

Allows a regular application to use Service.startForeground with the type "remoteMessaging". + + +

+ + + + + + String + + FOREGROUND_SERVICE_SPECIAL_USE +

Allows a regular application to use Service.startForeground with the type "specialUse". + + +

+ + + + + + String + + FOREGROUND_SERVICE_SYSTEM_EXEMPTED +

Allows a regular application to use Service.startForeground with the type "systemExempted". + + +

+ + + + + + String + + GET_ACCOUNTS +

Allows access to the list of accounts in the Accounts Service. + + +

+ + + + + + String + + GET_ACCOUNTS_PRIVILEGED +

Allows access to the list of accounts in the Accounts Service. + + +

+ + + + + + String + + GET_PACKAGE_SIZE +

Allows an application to find out the space used by any package. + + +

+ + + + + + String + + GET_TASKS +

+ This constant was deprecated + in API level 21. + No longer enforced. + + +

+ + + + + + String + + GLOBAL_SEARCH +

This permission can be used on content providers to allow the global + search system to access their data. + + +

+ + + + + + String + + HIDE_OVERLAY_WINDOWS +

Allows an app to prevent non-system-overlay windows from being drawn on top of it + + +

+ + + + + + String + + HIGH_SAMPLING_RATE_SENSORS +

Allows an app to access sensor data with a sampling rate greater than 200 Hz. + + +

+ + + + + + String + + INSTALL_LOCATION_PROVIDER +

Allows an application to install a location provider into the Location Manager. + + +

+ + + + + + String + + INSTALL_PACKAGES +

Allows an application to install packages. + + +

+ + + + + + String + + INSTALL_SHORTCUT +

Allows an application to install a shortcut in Launcher. + + +

+ + + + + + String + + INSTANT_APP_FOREGROUND_SERVICE +

Allows an instant app to create foreground services. + + +

+ + + + + + String + + INTERACT_ACROSS_PROFILES +

Allows interaction across profiles in the same profile group. + + +

+ + + + + + String + + INTERNET +

Allows applications to open network sockets. + + +

+ + + + + + String + + KILL_BACKGROUND_PROCESSES +

Allows an application to call + ActivityManager.killBackgroundProcesses(String). + + +

+ + + + + + String + + LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE +

Allows an application to capture screen content to perform a screenshot using the intent + action Intent.ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE. + + +

+ + + + + + String + + LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK +

An application needs this permission for + Settings.ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY to show its + Activity embedded in Settings app. + + +

+ + + + + + String + + LOADER_USAGE_STATS +

Allows a data loader to read a package's access logs. + + +

+ + + + + + String + + LOCATION_HARDWARE +

Allows an application to use location features in hardware, + such as the geofencing api. + + +

+ + + + + + String + + MANAGE_DEVICE_LOCK_STATE +

Allows financed device kiosk apps to perform actions on the Device Lock service +

Protection level: internal|role +

Intended for use by the FINANCED_DEVICE_KIOSK role only. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ACCESSIBILITY +

Allows an application to manage policy related to accessibility. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ACCOUNT_MANAGEMENT +

Allows an application to set policy related to account management. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ACROSS_USERS +

Allows an application to set device policies outside the current user + that are required for securing device ownership without accessing user data. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ACROSS_USERS_FULL +

Allows an application to set device policies outside the current user. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ACROSS_USERS_SECURITY_CRITICAL +

Allows an application to set device policies outside the current user + that are critical for securing data within the current user. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_AIRPLANE_MODE +

Allows an application to set policy related to airplane mode. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_APPS_CONTROL +

Allows an application to manage policy regarding modifying applications. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_APP_RESTRICTIONS +

Allows an application to manage application restrictions. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_APP_USER_DATA +

Allows an application to manage policy related to application user data. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ASSIST_CONTENT +

Allows an application to set policy related to sending assist content to a + privileged app such as the Assistant app. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_AUDIO_OUTPUT +

Allows an application to set policy related to audio output. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_AUTOFILL +

Allows an application to set policy related to autofill. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_BACKUP_SERVICE +

Allows an application to manage backup service policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_BLOCK_UNINSTALL +

Allows an application to manage policy related to block package uninstallation. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_BLUETOOTH +

Allows an application to set policy related to bluetooth. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_BUGREPORT +

Allows an application to request bugreports with user consent. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_CALLS +

Allows an application to manage calling policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_CAMERA +

Allows an application to set policy related to restricting a user's ability to use or + enable and disable the camera. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_CAMERA_TOGGLE +

Allows an application to manage policy related to camera toggle. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_CERTIFICATES +

Allows an application to set policy related to certificates. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_COMMON_CRITERIA_MODE +

Allows an application to manage policy related to common criteria mode. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_CONTENT_PROTECTION +

Allows an application to manage policy related to content protection. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_DEBUGGING_FEATURES +

Allows an application to manage debugging features policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_DEFAULT_SMS +

Allows an application to set policy related to the default sms application. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_DEVICE_IDENTIFIERS +

Allows an application to manage policy related to device identifiers. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_DISPLAY +

Allows an application to set policy related to the display. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_FACTORY_RESET +

Allows an application to set policy related to factory reset. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_FUN +

Allows an application to set policy related to fun. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_INPUT_METHODS +

Allows an application to set policy related to input methods. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_INSTALL_UNKNOWN_SOURCES +

Allows an application to manage installing from unknown sources policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_KEEP_UNINSTALLED_PACKAGES +

Allows an application to set policy related to keeping uninstalled packages. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_KEYGUARD +

Allows an application to manage policy related to keyguard. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_LOCALE +

Allows an application to set policy related to locale. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_LOCATION +

Allows an application to set policy related to location. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_LOCK +

Allows an application to lock a profile or the device with the appropriate cross-user + permission. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_LOCK_CREDENTIALS +

Allows an application to set policy related to lock credentials. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_LOCK_TASK +

Allows an application to manage lock task policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_MANAGED_SUBSCRIPTIONS +

Allows an application to set policy related to subscriptions downloaded by an admin. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_METERED_DATA +

Allows an application to manage policy related to metered data. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_MICROPHONE +

Allows an application to set policy related to restricting a user's ability to use or + enable and disable the microphone. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_MICROPHONE_TOGGLE +

Allows an application to manage policy related to microphone toggle. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_MOBILE_NETWORK +

Allows an application to set policy related to mobile networks. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_MODIFY_USERS +

Allows an application to manage policy preventing users from modifying users. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_MTE +

Allows an application to manage policy related to the Memory Tagging Extension (MTE). + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_NEARBY_COMMUNICATION +

Allows an application to set policy related to nearby communications (e.g. Beam and + nearby streaming). + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_NETWORK_LOGGING +

Allows an application to set policy related to network logging. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_ORGANIZATION_IDENTITY +

Allows an application to manage the identity of the managing organization. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_OVERRIDE_APN +

Allows an application to set policy related to override APNs. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PACKAGE_STATE +

Allows an application to set policy related to hiding and suspending packages. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PHYSICAL_MEDIA +

Allows an application to set policy related to physical media. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PRINTING +

Allows an application to set policy related to printing. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PRIVATE_DNS +

Allows an application to set policy related to private DNS. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PROFILES +

Allows an application to set policy related to profiles. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PROFILE_INTERACTION +

Allows an application to set policy related to interacting with profiles (e.g. Disallowing + cross-profile copy and paste). + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_PROXY +

Allows an application to set a network-independent global HTTP proxy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_QUERY_SYSTEM_UPDATES +

Allows an application query system updates. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_RESET_PASSWORD +

Allows an application to force set a new device unlock password or a managed profile + challenge on current user. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_RESTRICT_PRIVATE_DNS +

Allows an application to set policy related to restricting the user from configuring + private DNS. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_RUNTIME_PERMISSIONS +

Allows an application to set the grant state of runtime permissions on packages. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_RUN_IN_BACKGROUND +

Allows an application to set policy related to users running in the background. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SAFE_BOOT +

Allows an application to manage safe boot policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SCREEN_CAPTURE +

Allows an application to set policy related to screen capture. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SCREEN_CONTENT +

Allows an application to set policy related to the usage of the contents of the screen. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SECURITY_LOGGING +

Allows an application to set policy related to security logging. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SETTINGS +

Allows an application to set policy related to settings. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SMS +

Allows an application to set policy related to sms. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_STATUS_BAR +

Allows an application to set policy related to the status bar. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE +

Allows an application to set support messages for when a user action is affected by an + active policy. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SUSPEND_PERSONAL_APPS +

Allows an application to set policy related to suspending personal apps. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SYSTEM_APPS +

Allows an application to manage policy related to system apps. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SYSTEM_DIALOGS +

Allows an application to set policy related to system dialogs. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_SYSTEM_UPDATES +

Allows an application to set policy related to system updates. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_TIME +

Allows an application to manage device policy relating to time. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_USB_DATA_SIGNALLING +

Allows an application to set policy related to usb data signalling. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_USB_FILE_TRANSFER +

Allows an application to set policy related to usb file transfers. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_USERS +

Allows an application to set policy related to users. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_VPN +

Allows an application to set policy related to VPNs. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_WALLPAPER +

Allows an application to set policy related to the wallpaper. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_WIFI +

Allows an application to set policy related to Wifi. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_WINDOWS +

Allows an application to set policy related to windows. + + +

+ + + + + + String + + MANAGE_DEVICE_POLICY_WIPE_DATA +

Allows an application to manage policy related to wiping data. + + +

+ + + + + + String + + MANAGE_DOCUMENTS +

Allows an application to manage access to documents, usually as part + of a document picker. + + +

+ + + + + + String + + MANAGE_EXTERNAL_STORAGE +

Allows an application a broad access to external storage in scoped storage. + + +

+ + + + + + String + + MANAGE_MEDIA +

Allows an application to modify and delete media files on this device or any connected + storage device without user confirmation. + + +

+ + + + + + String + + MANAGE_ONGOING_CALLS +

Allows to query ongoing call details and manage ongoing calls +

Protection level: signature|appop + + +

+ + + + + + String + + MANAGE_OWN_CALLS +

Allows a calling application which manages its own calls through the self-managed + ConnectionService APIs. + + +

+ + + + + + String + + MANAGE_WIFI_INTERFACES +

Allows applications to get notified when a Wi-Fi interface request cannot + be satisfied without tearing down one or more other interfaces, and provide a decision + whether to approve the request or reject it. + + +

+ + + + + + String + + MANAGE_WIFI_NETWORK_SELECTION +

This permission is used to let OEMs grant their trusted app access to a subset of + privileged wifi APIs to improve wifi performance. + + +

+ + + + + + String + + MASTER_CLEAR +

Not for use by third-party applications. + + +

+ + + + + + String + + MEDIA_CONTENT_CONTROL +

Allows an application to know what content is playing and control its playback. + + +

+ + + + + + String + + MEDIA_ROUTING_CONTROL +

Allows an application to control the routing of media apps. + + +

+ + + + + + String + + MODIFY_AUDIO_SETTINGS +

Allows an application to modify global audio settings. + + +

+ + + + + + String + + MODIFY_PHONE_STATE +

Allows modification of the telephony state - power on, mmi, etc. + + +

+ + + + + + String + + MOUNT_FORMAT_FILESYSTEMS +

Allows formatting file systems for removable storage. + + +

+ + + + + + String + + MOUNT_UNMOUNT_FILESYSTEMS +

Allows mounting and unmounting file systems for removable storage. + + +

+ + + + + + String + + NEARBY_WIFI_DEVICES +

Required to be able to advertise and connect to nearby devices via Wi-Fi. + + +

+ + + + + + String + + NFC +

Allows applications to perform I/O operations over NFC. + + +

+ + + + + + String + + NFC_PREFERRED_PAYMENT_INFO +

Allows applications to receive NFC preferred payment service information. + + +

+ + + + + + String + + NFC_TRANSACTION_EVENT +

Allows applications to receive NFC transaction events. + + +

+ + + + + + String + + OVERRIDE_WIFI_CONFIG +

Allows an application to modify any wifi configuration, even if created + by another application. + + +

+ + + + + + String + + PACKAGE_USAGE_STATS +

Allows an application to collect component usage + statistics +

Declaring the permission implies intention to use the API and the user of the + device can grant permission through the Settings application. + + +

+ + + + + + String + + PERSISTENT_ACTIVITY +

+ This constant was deprecated + in API level 15. + This functionality will be removed in the future; please do + not use. Allow an application to make its activities persistent. + + +

+ + + + + + String + + POST_NOTIFICATIONS +

Allows an app to post notifications +

Protection level: dangerous + + +

+ + + + + + String + + PROCESS_OUTGOING_CALLS +

+ This constant was deprecated + in API level 29. + Applications should use CallRedirectionService instead + of the Intent.ACTION_NEW_OUTGOING_CALL broadcast. + + +

+ + + + + + String + + PROVIDE_OWN_AUTOFILL_SUGGESTIONS +

Allows an application to display its suggestions using the autofill framework. + + +

+ + + + + + String + + PROVIDE_REMOTE_CREDENTIALS +

Allows an application to be able to store and retrieve credentials from a remote + device. + + +

+ + + + + + String + + QUERY_ALL_PACKAGES +

Allows query of any normal app on the device, regardless of manifest declarations. + + +

+ + + + + + String + + READ_ASSISTANT_APP_SEARCH_DATA +

Allows an application to query over global data in AppSearch that's visible to the + ASSISTANT role. + + +

+ + + + + + String + + READ_BASIC_PHONE_STATE +

Allows read only access to phone state with a non dangerous permission, + including the information like cellular network type, software version. + + +

+ + + + + + String + + READ_CALENDAR +

Allows an application to read the user's calendar data. + + +

+ + + + + + String + + READ_CALL_LOG +

Allows an application to read the user's call log. + + +

+ + + + + + String + + READ_CONTACTS +

Allows an application to read the user's contacts data. + + +

+ + + + + + String + + READ_DROPBOX_DATA +

Allows an application to access the data in Dropbox. + + +

+ + + + + + String + + READ_EXTERNAL_STORAGE +

Allows an application to read from external storage. + + +

+ + + + + + String + + READ_HOME_APP_SEARCH_DATA +

Allows an application to query over global data in AppSearch that's visible to the + HOME role. + + +

+ + + + + + String + + READ_INPUT_STATE +

+ This constant was deprecated + in API level 16. + The API that used this permission has been removed. + + +

+ + + + + + String + + READ_LOGS +

Allows an application to read the low-level system log files. + + +

+ + + + + + String + + READ_MEDIA_AUDIO +

Allows an application to read audio files from external storage. + + +

+ + + + + + String + + READ_MEDIA_IMAGES +

Allows an application to read image files from external storage. + + +

+ + + + + + String + + READ_MEDIA_VIDEO +

Allows an application to read video files from external storage. + + +

+ + + + + + String + + READ_MEDIA_VISUAL_USER_SELECTED +

Allows an application to read image or video files from external storage that a user has + selected via the permission prompt photo picker. + + +

+ + + + + + String + + READ_NEARBY_STREAMING_POLICY +

Allows an application to read nearby streaming policy. + + +

+ + + + + + String + + READ_PHONE_NUMBERS +

Allows read access to the device's phone number(s). + + +

+ + + + + + String + + READ_PHONE_STATE +

Allows read only access to phone state, including the current cellular network information, + the status of any ongoing calls, and a list of any PhoneAccounts + registered on the device. + + +

+ + + + + + String + + READ_PRECISE_PHONE_STATE +

Allows read only access to precise phone state. + + +

+ + + + + + String + + READ_SMS +

Allows an application to read SMS messages. + + +

+ + + + + + String + + READ_SYNC_SETTINGS +

Allows applications to read the sync settings. + + +

+ + + + + + String + + READ_SYNC_STATS +

Allows applications to read the sync stats. + + +

+ + + + + + String + + READ_VOICEMAIL +

Allows an application to read voicemails in the system. + + +

+ + + + + + String + + REBOOT +

Required to be able to reboot the device. + + +

+ + + + + + String + + RECEIVE_BOOT_COMPLETED +

Allows an application to receive the + Intent.ACTION_BOOT_COMPLETED that is + broadcast after the system finishes booting. + + +

+ + + + + + String + + RECEIVE_MMS +

Allows an application to monitor incoming MMS messages. + + +

+ + + + + + String + + RECEIVE_SMS +

Allows an application to receive SMS messages. + + +

+ + + + + + String + + RECEIVE_WAP_PUSH +

Allows an application to receive WAP push messages. + + +

+ + + + + + String + + RECORD_AUDIO +

Allows an application to record audio. + + +

+ + + + + + String + + REORDER_TASKS +

Allows an application to change the Z-order of tasks. + + +

+ + + + + + String + + REQUEST_COMPANION_PROFILE_APP_STREAMING +

Allows application to request to be associated with a virtual display capable of streaming + Android applications + (AssociationRequest.DEVICE_PROFILE_APP_STREAMING) + by CompanionDeviceManager. + + +

+ + + + + + String + + REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION +

Allows application to request to be associated with a vehicle head unit capable of + automotive projection + (AssociationRequest.DEVICE_PROFILE_AUTOMOTIVE_PROJECTION) + by CompanionDeviceManager. + + +

+ + + + + + String + + REQUEST_COMPANION_PROFILE_COMPUTER +

Allows application to request to be associated with a computer to share functionality + and/or data with other devices, such as notifications, photos and media + (AssociationRequest.DEVICE_PROFILE_COMPUTER) + by CompanionDeviceManager. + + +

+ + + + + + String + + REQUEST_COMPANION_PROFILE_GLASSES +

Allows app to request to be associated with a device via + CompanionDeviceManager + as "glasses" +

Protection level: normal + + +

+ + + + + + String + + REQUEST_COMPANION_PROFILE_NEARBY_DEVICE_STREAMING +

Allows application to request to stream content from an Android host to a nearby device + (AssociationRequest.DEVICE_PROFILE_NEARBY_DEVICE_STREAMING) + by CompanionDeviceManager. + + +

+ + + + + + String + + REQUEST_COMPANION_PROFILE_WATCH +

Allows app to request to be associated with a device via + CompanionDeviceManager + as a "watch" +

Protection level: normal + + +

+ + + + + + String + + REQUEST_COMPANION_RUN_IN_BACKGROUND +

Allows a companion app to run in the background. + + +

+ + + + + + String + + REQUEST_COMPANION_SELF_MANAGED +

Allows an application to create a "self-managed" association. + + +

+ + + + + + String + + REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND +

Allows a companion app to start a foreground service from the background. + + +

+ + + + + + String + + REQUEST_COMPANION_USE_DATA_IN_BACKGROUND +

Allows a companion app to use data in the background. + + +

+ + + + + + String + + REQUEST_DELETE_PACKAGES +

Allows an application to request deleting packages. + + +

+ + + + + + String + + REQUEST_IGNORE_BATTERY_OPTIMIZATIONS +

Permission an application must hold in order to use + Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS. + + +

+ + + + + + String + + REQUEST_INSTALL_PACKAGES +

Allows an application to request installing packages. + + +

+ + + + + + String + + REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE +

Allows an application to subscribe to notifications about the presence status change + of their associated companion device + + +

+ + + + + + String + + REQUEST_PASSWORD_COMPLEXITY +

Allows an application to request the screen lock complexity and prompt users to update the + screen lock to a certain complexity level. + + +

+ + + + + + String + + RESTART_PACKAGES +

+ This constant was deprecated + in API level 15. + The ActivityManager.restartPackage(String) + API is no longer supported. + + +

+ + + + + + String + + RUN_USER_INITIATED_JOBS +

Allows applications to use the user-initiated jobs API. + + +

+ + + + + + String + + SCHEDULE_EXACT_ALARM +

Allows applications to use exact alarm APIs. + + +

+ + + + + + String + + SEND_RESPOND_VIA_MESSAGE +

Allows an application (Phone) to send a request to other applications + to handle the respond-via-message action during incoming calls. + + +

+ + + + + + String + + SEND_SMS +

Allows an application to send SMS messages. + + +

+ + + + + + String + + SET_ALARM +

Allows an application to broadcast an Intent to set an alarm for the user. + + +

+ + + + + + String + + SET_ALWAYS_FINISH +

Allows an application to control whether activities are immediately + finished when put in the background. + + +

+ + + + + + String + + SET_ANIMATION_SCALE +

Modify the global animation scaling factor. + + +

+ + + + + + String + + SET_BIOMETRIC_DIALOG_ADVANCED +

Allows an application to set the advanced features on BiometricDialog (SystemUI), including + logo, logo description, and content view with more options button. + + +

+ + + + + + String + + SET_DEBUG_APP +

Configure an application for debugging. + + +

+ + + + + + String + + SET_PREFERRED_APPLICATIONS +

+ This constant was deprecated + in API level 15. + No longer useful, see + PackageManager.addPackageToPreferred(String) + for details. + + +

+ + + + + + String + + SET_PROCESS_LIMIT +

Allows an application to set the maximum number of (not needed) + application processes that can be running. + + +

+ + + + + + String + + SET_TIME +

Allows applications to set the system time directly. + + +

+ + + + + + String + + SET_TIME_ZONE +

Allows applications to set the system time zone directly. + + +

+ + + + + + String + + SET_WALLPAPER +

Allows applications to set the wallpaper. + + +

+ + + + + + String + + SET_WALLPAPER_HINTS +

Allows applications to set the wallpaper hints. + + +

+ + + + + + String + + SIGNAL_PERSISTENT_PROCESSES +

Allow an application to request that a signal be sent to all persistent processes. + + +

+ + + + + + String + + SMS_FINANCIAL_TRANSACTIONS +

+ This constant was deprecated + in API level 31. + The API that used this permission is no longer functional. + + +

+ + + + + + String + + START_FOREGROUND_SERVICES_FROM_BACKGROUND +

Allows an application to start foreground services from the background at any time. + + +

+ + + + + + String + + START_VIEW_APP_FEATURES +

Allows the holder to start the screen with a list of app features. + + +

+ + + + + + String + + START_VIEW_PERMISSION_USAGE +

Allows the holder to start the permission usage screen for an app. + + +

+ + + + + + String + + STATUS_BAR +

Allows an application to open, close, or disable the status bar + and its icons. + + +

+ + + + + + String + + SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE +

Allows an application to subscribe to keyguard locked (i.e., showing) state. + + +

+ + + + + + String + + SYSTEM_ALERT_WINDOW +

Allows an app to create windows using the type + WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, + shown on top of all other apps. + + +

+ + + + + + String + + TRANSMIT_IR +

Allows using the device's IR transmitter, if available. + + +

+ + + + + + String + + TURN_SCREEN_ON +

Allows an app to turn on the screen on, e.g. with + PowerManager.ACQUIRE_CAUSES_WAKEUP. + + +

+ + + + + + String + + UNINSTALL_SHORTCUT +

Don't use this permission in your app. + + +

+ + + + + + String + + UPDATE_DEVICE_STATS +

Allows an application to update device statistics. + + +

+ + + + + + String + + UPDATE_PACKAGES_WITHOUT_USER_ACTION +

Allows an application to indicate via + PackageInstaller.SessionParams.setRequireUserAction(int) + that user action should not be required for an app update. + + +

+ + + + + + String + + USE_BIOMETRIC +

Allows an app to use device supported biometric modalities. + + +

+ + + + + + String + + USE_EXACT_ALARM +

Allows apps to use exact alarms just like with SCHEDULE_EXACT_ALARM but without needing to request this + permission from the user. + + +

+ + + + + + String + + USE_FINGERPRINT +

+ This constant was deprecated + in API level 28. + Applications should request USE_BIOMETRIC instead + + +

+ + + + + + String + + USE_FULL_SCREEN_INTENT +

Required for apps targeting Build.VERSION_CODES.Q that want to use + notification full screen + intents. + + +

+ + + + + + String + + USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER +

Allows to read device identifiers and use ICC based authentication like EAP-AKA. + + +

+ + + + + + String + + USE_SIP +

Allows an application to use SIP service. + + +

+ + + + + + String + + UWB_RANGING +

Required to be able to range to devices using ultra-wideband. + + +

+ + + + + + String + + VIBRATE +

Allows access to the vibrator. + + +

+ + + + + + String + + WAKE_LOCK +

Allows using PowerManager WakeLocks to keep processor from sleeping or screen + from dimming. + + +

+ + + + + + String + + WRITE_APN_SETTINGS +

Allows applications to write the apn settings and read sensitive fields of + an existing apn settings like user and password. + + +

+ + + + + + String + + WRITE_CALENDAR +

Allows an application to write the user's calendar data. + + +

+ + + + + + String + + WRITE_CALL_LOG +

Allows an application to write and read the user's call log data. + + +

+ + + + + + String + + WRITE_CONTACTS +

Allows an application to write the user's contacts data. + + +

+ + + + + + String + + WRITE_EXTERNAL_STORAGE +

Allows an application to write to external storage. + + +

+ + + + + + String + + WRITE_GSERVICES +

Allows an application to modify the Google service map. + + +

+ + + + + + String + + WRITE_SECURE_SETTINGS +

Allows an application to read or write the secure system settings. + + +

+ + + + + + String + + WRITE_SETTINGS +

Allows an application to read or write the system settings. + + +

+ + + + + + String + + WRITE_SYNC_SETTINGS +

Allows applications to write the sync settings. + + +

+ + + + + + String + + WRITE_VOICEMAIL +

Allows an application to modify and remove existing voicemails in the system. + + +

+ + + + + + + diff --git a/permissions.txt b/permissions.txt new file mode 100644 index 0000000..f72f584 --- /dev/null +++ b/permissions.txt @@ -0,0 +1,324 @@ +android.permission.ACCESS_ALL_DOWNLOADS +android.permission.ACCESS_BLUETOOTH_SHARE +android.permission.ACCESS_CACHE_FILESYSTEM +android.permission.ACCESS_CHECKIN_PROPERTIES +android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY +android.permission.ACCESS_DOWNLOAD_MANAGER +android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED +android.permission.ACCESS_DRM_CERTIFICATES +android.permission.ACCESS_EPHEMERAL_APPS +android.permission.ACCESS_FM_RADIO +android.permission.ACCESS_INPUT_FLINGER +android.permission.ACCESS_KEYGUARD_SECURE_STORAGE +android.permission.ACCESS_LOCATION_EXTRA_COMMANDS +android.permission.ACCESS_MOCK_LOCATION +android.permission.ACCESS_MTP +android.permission.ACCESS_NETWORK_CONDITIONS +android.permission.ACCESS_NETWORK_STATE +android.permission.ACCESS_NOTIFICATIONS +android.permission.ACCESS_NOTIFICATION_POLICY +android.permission.ACCESS_PDB_STATE +android.permission.ACCESS_SURFACE_FLINGER +android.permission.ACCESS_VOICE_INTERACTION_SERVICE +android.permission.ACCESS_VR_MANAGER +android.permission.ACCESS_WIFI_STATE +android.permission.ACCESS_WIMAX_STATE +android.permission.ACCOUNT_MANAGER +android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK +android.permission.ASEC_ACCESS +android.permission.ASEC_CREATE +android.permission.ASEC_DESTROY +android.permission.ASEC_MOUNT_UNMOUNT +android.permission.ASEC_RENAME +android.permission.AUTHENTICATE_ACCOUNTS +android.permission.BACKUP +android.permission.BATTERY_STATS +android.permission.BIND_ACCESSIBILITY_SERVICE +android.permission.BIND_APPWIDGET +android.permission.BIND_CARRIER_MESSAGING_SERVICE +android.permission.BIND_CARRIER_SERVICES +android.permission.BIND_CHOOSER_TARGET_SERVICE +android.permission.BIND_CONDITION_PROVIDER_SERVICE +android.permission.BIND_CONNECTION_SERVICE +android.permission.BIND_DEVICE_ADMIN +android.permission.BIND_DIRECTORY_SEARCH +android.permission.BIND_DREAM_SERVICE +android.permission.BIND_INCALL_SERVICE +android.permission.BIND_INPUT_METHOD +android.permission.BIND_INTENT_FILTER_VERIFIER +android.permission.BIND_JOB_SERVICE +android.permission.BIND_KEYGUARD_APPWIDGET +android.permission.BIND_MIDI_DEVICE_SERVICE +android.permission.BIND_NFC_SERVICE +android.permission.BIND_NOTIFICATION_LISTENER_SERVICE +android.permission.BIND_NOTIFICATION_RANKER_SERVICE +android.permission.BIND_PACKAGE_VERIFIER +android.permission.BIND_PRINT_RECOMMENDATION_SERVICE +android.permission.BIND_PRINT_SERVICE +android.permission.BIND_PRINT_SPOOLER_SERVICE +android.permission.BIND_QUICK_SETTINGS_TILE +android.permission.BIND_REMOTEVIEWS +android.permission.BIND_REMOTE_DISPLAY +android.permission.BIND_ROUTE_PROVIDER +android.permission.BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE +android.permission.BIND_SCREENING_SERVICE +android.permission.BIND_TELECOM_CONNECTION_SERVICE +android.permission.BIND_TEXT_SERVICE +android.permission.BIND_TRUST_AGENT +android.permission.BIND_TV_INPUT +android.permission.BIND_TV_REMOTE_SERVICE +android.permission.BIND_VOICE_INTERACTION +android.permission.BIND_VPN_SERVICE +android.permission.BIND_VR_LISTENER_SERVICE +android.permission.BIND_WALLPAPER +android.permission.BLUETOOTH +android.permission.BLUETOOTH_ADMIN +android.permission.BLUETOOTH_MAP +android.permission.BLUETOOTH_PRIVILEGED +android.permission.BLUETOOTH_STACK +android.permission.BRICK +android.permission.BROADCAST_CALLLOG_INFO +android.permission.BROADCAST_NETWORK_PRIVILEGED +android.permission.BROADCAST_PACKAGE_REMOVED +android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION +android.permission.BROADCAST_SMS +android.permission.BROADCAST_STICKY +android.permission.BROADCAST_WAP_PUSH +android.permission.CACHE_CONTENT +android.permission.CALL_PRIVILEGED +android.permission.CAMERA_DISABLE_TRANSMIT_LED +android.permission.CAMERA_SEND_SYSTEM_EVENTS +android.permission.CAPTURE_AUDIO_HOTWORD +android.permission.CAPTURE_AUDIO_OUTPUT +android.permission.CAPTURE_SECURE_VIDEO_OUTPUT +android.permission.CAPTURE_TV_INPUT +android.permission.CAPTURE_VIDEO_OUTPUT +android.permission.CARRIER_FILTER_SMS +android.permission.CHANGE_APP_IDLE_STATE +android.permission.CHANGE_BACKGROUND_DATA_SETTING +android.permission.CHANGE_COMPONENT_ENABLED_STATE +android.permission.CHANGE_CONFIGURATION +android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST +android.permission.CHANGE_NETWORK_STATE +android.permission.CHANGE_WIFI_MULTICAST_STATE +android.permission.CHANGE_WIFI_STATE +android.permission.CHANGE_WIMAX_STATE +android.permission.CLEAR_APP_CACHE +android.permission.CLEAR_APP_GRANTED_URI_PERMISSIONS +android.permission.CLEAR_APP_USER_DATA +android.permission.CONFIGURE_DISPLAY_COLOR_TRANSFORM +android.permission.CONFIGURE_WIFI_DISPLAY +android.permission.CONFIRM_FULL_BACKUP +android.permission.CONNECTIVITY_INTERNAL +android.permission.CONTROL_INCALL_EXPERIENCE +android.permission.CONTROL_KEYGUARD +android.permission.CONTROL_LOCATION_UPDATES +android.permission.CONTROL_VPN +android.permission.CONTROL_WIFI_DISPLAY +android.permission.COPY_PROTECTED_DATA +android.permission.CREATE_USERS +android.permission.CRYPT_KEEPER +android.permission.DELETE_CACHE_FILES +android.permission.DELETE_PACKAGES +android.permission.DEVICE_POWER +android.permission.DIAGNOSTIC +android.permission.DISABLE_KEYGUARD +android.permission.DISPATCH_NFC_MESSAGE +android.permission.DISPATCH_PROVISIONING_MESSAGE +android.permission.DOWNLOAD_CACHE_NON_PURGEABLE +android.permission.DUMP +android.permission.DVB_DEVICE +android.permission.EXPAND_STATUS_BAR +android.permission.FACTORY_TEST +android.permission.FILTER_EVENTS +android.permission.FLASHLIGHT +android.permission.FORCE_BACK +android.permission.FORCE_STOP_PACKAGES +android.permission.FRAME_STATS +android.permission.FREEZE_SCREEN +android.permission.GET_ACCOUNTS_PRIVILEGED +android.permission.GET_APP_GRANTED_URI_PERMISSIONS +android.permission.GET_APP_OPS_STATS +android.permission.GET_DETAILED_TASKS +android.permission.GET_INTENT_SENDER_INTENT +android.permission.GET_PACKAGE_IMPORTANCE +android.permission.GET_PACKAGE_SIZE +android.permission.GET_PASSWORD +android.permission.GET_PROCESS_STATE_AND_OOM_SCORE +android.permission.GET_TASKS +android.permission.GET_TOP_ACTIVITY_INFO +android.permission.GLOBAL_SEARCH +android.permission.GLOBAL_SEARCH_CONTROL +android.permission.GRANT_RUNTIME_PERMISSIONS +android.permission.HARDWARE_TEST +android.permission.HDMI_CEC +android.permission.INJECT_EVENTS +android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS +android.permission.INSTALL_LOCATION_PROVIDER +android.permission.INSTALL_PACKAGES +android.permission.INTENT_FILTER_VERIFICATION_AGENT +android.permission.INTERACT_ACROSS_USERS +android.permission.INTERACT_ACROSS_USERS_FULL +android.permission.INTERNAL_SYSTEM_WINDOW +android.permission.INTERNET +android.permission.INVOKE_CARRIER_SETUP +android.permission.KILL_BACKGROUND_PROCESSES +android.permission.KILL_UID +android.permission.LAUNCH_TRUST_AGENT_SETTINGS +android.permission.LOCAL_MAC_ADDRESS +android.permission.LOCATION_HARDWARE +android.permission.LOOP_RADIO +android.permission.MANAGE_ACCOUNTS +android.permission.MANAGE_ACTIVITY_STACKS +android.permission.MANAGE_APP_OPS_RESTRICTIONS +android.permission.MANAGE_APP_TOKENS +android.permission.MANAGE_CA_CERTIFICATES +android.permission.MANAGE_DEVICE_ADMINS +android.permission.MANAGE_DOCUMENTS +android.permission.MANAGE_FINGERPRINT +android.permission.MANAGE_MEDIA_PROJECTION +android.permission.MANAGE_NETWORK_POLICY +android.permission.MANAGE_NOTIFICATIONS +android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS +android.permission.MANAGE_SOUND_TRIGGER +android.permission.MANAGE_USB +android.permission.MANAGE_USERS +android.permission.MANAGE_VOICE_KEYPHRASES +android.permission.MASTER_CLEAR +android.permission.MEDIA_CONTENT_CONTROL +android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS +android.permission.MODIFY_AUDIO_ROUTING +android.permission.MODIFY_AUDIO_SETTINGS +android.permission.MODIFY_CELL_BROADCASTS +android.permission.MODIFY_DAY_NIGHT_MODE +android.permission.MODIFY_NETWORK_ACCOUNTING +android.permission.MODIFY_PARENTAL_CONTROLS +android.permission.MODIFY_PHONE_STATE +android.permission.MOUNT_FORMAT_FILESYSTEMS +android.permission.MOUNT_UNMOUNT_FILESYSTEMS +android.permission.MOVE_PACKAGE +android.permission.NET_ADMIN +android.permission.NET_TUNNELING +android.permission.NFC +android.permission.NFC_HANDOVER_STATUS +android.permission.NOTIFY_PENDING_SYSTEM_UPDATE +android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS +android.permission.OEM_UNLOCK_STATE +android.permission.OVERRIDE_WIFI_CONFIG +android.permission.PACKAGE_USAGE_STATS +android.permission.PACKAGE_VERIFICATION_AGENT +android.permission.PACKET_KEEPALIVE_OFFLOAD +android.permission.PEERS_MAC_ADDRESS +android.permission.PERFORM_CDMA_PROVISIONING +android.permission.PERFORM_SIM_ACTIVATION +android.permission.PERSISTENT_ACTIVITY +android.permission.PROCESS_CALLLOG_INFO +android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION +android.permission.PROVIDE_TRUST_AGENT +android.permission.QUERY_DO_NOT_ASK_CREDENTIALS_ON_BOOT +android.permission.READ_BLOCKED_NUMBERS +android.permission.READ_DREAM_STATE +android.permission.READ_FRAME_BUFFER +android.permission.READ_INPUT_STATE +android.permission.READ_INSTALL_SESSIONS +android.permission.READ_LOGS +android.permission.READ_NETWORK_USAGE_HISTORY +android.permission.READ_OEM_UNLOCK_STATE +android.permission.READ_PRECISE_PHONE_STATE +android.permission.READ_PRIVILEGED_PHONE_STATE +android.permission.READ_PROFILE +android.permission.READ_SEARCH_INDEXABLES +android.permission.READ_SOCIAL_STREAM +android.permission.READ_SYNC_SETTINGS +android.permission.READ_SYNC_STATS +android.permission.READ_USER_DICTIONARY +android.permission.READ_WIFI_CREDENTIAL +android.permission.REAL_GET_TASKS +android.permission.REBOOT +android.permission.RECEIVE_BLUETOOTH_MAP +android.permission.RECEIVE_BOOT_COMPLETED +android.permission.RECEIVE_DATA_ACTIVITY_CHANGE +android.permission.RECEIVE_EMERGENCY_BROADCAST +android.permission.RECEIVE_MEDIA_RESOURCE_USAGE +android.permission.RECEIVE_STK_COMMANDS +android.permission.RECEIVE_WIFI_CREDENTIAL_CHANGE +android.permission.RECOVERY +android.permission.REGISTER_CALL_PROVIDER +android.permission.REGISTER_CONNECTION_MANAGER +android.permission.REGISTER_SIM_SUBSCRIPTION +android.permission.REGISTER_WINDOW_MANAGER_LISTENERS +android.permission.REMOTE_AUDIO_PLAYBACK +android.permission.REMOVE_DRM_CERTIFICATES +android.permission.REMOVE_TASKS +android.permission.REORDER_TASKS +android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS +android.permission.REQUEST_INSTALL_PACKAGES +android.permission.RESET_FINGERPRINT_LOCKOUT +android.permission.RESET_SHORTCUT_MANAGER_THROTTLING +android.permission.RESTART_PACKAGES +android.permission.RETRIEVE_WINDOW_CONTENT +android.permission.RETRIEVE_WINDOW_TOKEN +android.permission.REVOKE_RUNTIME_PERMISSIONS +android.permission.SCORE_NETWORKS +android.permission.SEND_CALL_LOG_CHANGE +android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS +android.permission.SEND_RESPOND_VIA_MESSAGE +android.permission.SEND_SMS_NO_CONFIRMATION +android.permission.SERIAL_PORT +android.permission.SET_ACTIVITY_WATCHER +android.permission.SET_ALWAYS_FINISH +android.permission.SET_ANIMATION_SCALE +android.permission.SET_DEBUG_APP +android.permission.SET_INPUT_CALIBRATION +android.permission.SET_KEYBOARD_LAYOUT +android.permission.SET_ORIENTATION +android.permission.SET_POINTER_SPEED +android.permission.SET_PREFERRED_APPLICATIONS +android.permission.SET_PROCESS_LIMIT +android.permission.SET_SCREEN_COMPATIBILITY +android.permission.SET_TIME +android.permission.SET_TIME_ZONE +android.permission.SET_WALLPAPER +android.permission.SET_WALLPAPER_COMPONENT +android.permission.SET_WALLPAPER_HINTS +android.permission.SHUTDOWN +android.permission.SIGNAL_PERSISTENT_PROCESSES +android.permission.START_ANY_ACTIVITY +android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY +android.permission.START_TASKS_FROM_RECENTS +android.permission.STATUS_BAR +android.permission.STATUS_BAR_SERVICE +android.permission.STOP_APP_SWITCHES +android.permission.STORAGE_INTERNAL +android.permission.SUBSCRIBED_FEEDS_READ +android.permission.SUBSCRIBED_FEEDS_WRITE +android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME +android.permission.SYSTEM_ALERT_WINDOW +android.permission.TABLET_MODE +android.permission.TEMPORARY_ENABLE_ACCESSIBILITY +android.permission.TETHER_PRIVILEGED +android.permission.TRANSMIT_IR +android.permission.TRUST_LISTENER +android.permission.TV_INPUT_HARDWARE +android.permission.TV_VIRTUAL_REMOTE_CONTROLLER +android.permission.UPDATE_APP_OPS_STATS +android.permission.UPDATE_CONFIG +android.permission.UPDATE_DEVICE_STATS +android.permission.UPDATE_LOCK +android.permission.UPDATE_LOCK_TASK_PACKAGES +android.permission.USER_ACTIVITY +android.permission.USE_CREDENTIALS +android.permission.VIBRATE +android.permission.WAKE_LOCK +android.permission.WRITE_APN_SETTINGS +android.permission.WRITE_BLOCKED_NUMBERS +android.permission.WRITE_DREAM_STATE +android.permission.WRITE_GSERVICES +android.permission.WRITE_MEDIA_STORAGE +android.permission.WRITE_PROFILE +android.permission.WRITE_SECURE_SETTINGS +android.permission.WRITE_SETTINGS +android.permission.WRITE_SMS +android.permission.WRITE_SOCIAL_STREAM +android.permission.WRITE_SYNC_SETTINGS +android.permission.WRITE_USER_DICTIONARY \ No newline at end of file