Android O 获取APK文件权限 Demo案例

 

1. 通过 aapt 工具查看 APK权限

C:\Users\zh>adb pull /system/priv-app/Settings .
/system/priv-app/Settings/: 3 files pulled. 10.8 MB/s (48840608 bytes in 4.325s)C:\Users\zh>aapt d permissions  C:\Users\zh\Settings\Settings.apk
package: com.android.settings
uses-permission: name='android.permission.REQUEST_NETWORK_SCORES'
uses-permission: name='android.permission.WRITE_MEDIA_STORAGE'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-permission: name='android.permission.WRITE_SETTINGS'
uses-permission: name='android.permission.WRITE_SECURE_SETTINGS'
uses-permission: name='android.permission.DEVICE_POWER'
uses-permission: name='android.permission.CHANGE_CONFIGURATION'
uses-permission: name='android.permission.MOUNT_UNMOUNT_FILESYSTEMS'
uses-permission: name='android.permission.VIBRATE'
uses-permission: name='android.permission.BLUETOOTH'
uses-permission: name='android.permission.BLUETOOTH_ADMIN'
uses-permission: name='android.permission.BLUETOOTH_PRIVILEGED'
uses-permission: name='android.permission.NFC'
uses-permission: name='android.permission.HARDWARE_TEST'
uses-permission: name='android.permission.CALL_PHONE'
uses-permission: name='android.permission.MODIFY_AUDIO_SETTINGS'
uses-permission: name='android.permission.MASTER_CLEAR'
uses-permission: name='com.google.android.googleapps.permission.GOOGLE_AUTH'
uses-permission: name='android.permission.ACCESS_DOWNLOAD_MANAGER'
uses-permission: name='android.permission.READ_CONTACTS'
uses-permission: name='android.permission.WRITE_CONTACTS'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.ACCESS_WIMAX_STATE'
uses-permission: name='android.permission.CHANGE_WIMAX_STATE'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='com.android.certinstaller.INSTALL_AS_USER'
uses-permission: name='android.permission.CHANGE_WIFI_STATE'
uses-permission: name='android.permission.TETHER_PRIVILEGED'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.CLEAR_APP_USER_DATA'
uses-permission: name='android.permission.READ_PHONE_STATE'
uses-permission: name='android.permission.MODIFY_PHONE_STATE'
uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission: name='android.permission.WRITE_APN_SETTINGS'
uses-permission: name='android.permission.ACCESS_CHECKIN_PROPERTIES'
uses-permission: name='android.permission.READ_USER_DICTIONARY'
uses-permission: name='android.permission.WRITE_USER_DICTIONARY'
uses-permission: name='android.permission.FORCE_STOP_PACKAGES'
uses-permission: name='android.permission.PACKAGE_USAGE_STATS'
uses-permission: name='android.permission.BATTERY_STATS'
uses-permission: name='com.android.launcher.permission.READ_SETTINGS'
uses-permission: name='com.android.launcher.permission.WRITE_SETTINGS'
uses-permission: name='android.permission.MOVE_PACKAGE'
uses-permission: name='android.permission.USE_CREDENTIALS'
uses-permission: name='android.permission.BACKUP'
uses-permission: name='android.permission.READ_SYNC_STATS'
uses-permission: name='android.permission.READ_SYNC_SETTINGS'
uses-permission: name='android.permission.WRITE_SYNC_SETTINGS'
uses-permission: name='android.permission.STATUS_BAR'
uses-permission: name='android.permission.MANAGE_USB'
uses-permission: name='android.permission.SET_POINTER_SPEED'
uses-permission: name='android.permission.SET_KEYBOARD_LAYOUT'
uses-permission: name='android.permission.INTERACT_ACROSS_USERS_FULL'
uses-permission: name='android.permission.COPY_PROTECTED_DATA'
uses-permission: name='android.permission.MANAGE_USERS'
uses-permission: name='android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS'
uses-permission: name='android.permission.READ_PROFILE'
uses-permission: name='android.permission.CONFIGURE_WIFI_DISPLAY'
uses-permission: name='android.permission.CONFIGURE_DISPLAY_COLOR_MODE'
uses-permission: name='android.permission.SET_TIME'
uses-permission: name='android.permission.ACCESS_NOTIFICATIONS'
uses-permission: name='android.permission.REBOOT'
uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission: name='android.permission.MANAGE_DEVICE_ADMINS'
uses-permission: name='android.permission.READ_SEARCH_INDEXABLES'
uses-permission: name='android.permission.OEM_UNLOCK_STATE'
uses-permission: name='android.permission.MANAGE_USER_OEM_UNLOCK_STATE'
uses-permission: name='android.permission.OVERRIDE_WIFI_CONFIG'
uses-permission: name='android.permission.USE_FINGERPRINT'
uses-permission: name='android.permission.MANAGE_FINGERPRINT'
uses-permission: name='android.permission.USER_ACTIVITY'
uses-permission: name='android.permission.CHANGE_APP_IDLE_STATE'
uses-permission: name='android.permission.PEERS_MAC_ADDRESS'
uses-permission: name='android.permission.MANAGE_NOTIFICATIONS'
uses-permission: name='android.permission.DELETE_PACKAGES'
uses-permission: name='android.permission.MANAGE_APP_OPS_RESTRICTIONS'
uses-permission: name='android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS'
uses-permission: name='android.permission.READ_PRINT_SERVICES'
uses-permission: name='android.permission.NETWORK_SETTINGS'C:\Users\zh>

 

 

2. 通过代码获取权限

package com.remote.bangdemo;import java.util.List;import android.app.Activity;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.pm.PermissionGroupInfo;
import android.content.pm.PermissionInfo;
import android.os.Bundle;
import android.util.Log;public class MainActivity extends Activity {String TAG = "MainActivityZZ";@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);getUsesPermission("com.android.settings");}private void getUsesPermission(String packageName) {PackageManager packageManager = getPackageManager();PackageInfo packageInfo = null;try {packageInfo = packageManager.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS);} catch (NameNotFoundException e) {e.printStackTrace();}if (packageInfo == null) {return;}// <permission> 标签声明自定义的权限PermissionInfo[] permissions = packageInfo.permissions;if (permissions != null) {for (PermissionInfo permissionInfo : permissions) {CharSequence label = permissionInfo.loadLabel(packageManager);CharSequence desc = permissionInfo.loadDescription(packageManager);Log.d(TAG, "permission label =" + label);Log.d(TAG, "permission desc =" + desc);}}// <uses-permission> 标签声明请求的权限String[] usesPermissionsArray = packageInfo.requestedPermissions;if (usesPermissionsArray != null) {for (String usesPermissionName : usesPermissionsArray) {Log.d(TAG, "<uses-permission> name =" + usesPermissionName);// 通过usesPermissionName获取该权限的详细信息PermissionInfo permissionInfo = null;try {permissionInfo = packageManager.getPermissionInfo(usesPermissionName, 0);} catch (NameNotFoundException e) {e.printStackTrace();}if (permissionInfo == null) {continue;}// 获取该权限的标签信息,比如:完全的网络访问权限String label = permissionInfo.loadLabel(packageManager).toString();Log.d(TAG, "permission label =" + label);// 获取该权限的详细描述信息,比如:允许该应用创建网络套接字和使用自定义网络协议// 浏览器和其他某些应用提供了向互联网发送数据的途径,因此应用无需该权限即可向互联网发送数据.CharSequence desc = permissionInfo.loadDescription(packageManager);Log.d(TAG, "permission desc =" + desc);// // 获得该权限属于哪个权限组,如:网络通信if (permissionInfo.group != null) {Log.d(TAG, "---------------------------------------权限组>");try {PermissionGroupInfo permissionGroupInfo = packageManager.getPermissionGroupInfo(permissionInfo.group, 0);CharSequence groupInfoLabel = permissionGroupInfo.loadLabel(packageManager);Log.d(TAG, "permissionGroup name =" + permissionInfo.name);Log.d(TAG, "permissionGroup group name =" + permissionInfo.group);Log.d(TAG, "permissionGroup label =" + groupInfoLabel);// 查看权限组包含哪些权限if (permissionGroupInfo instanceof PermissionGroupInfo) {List<PermissionInfo> permissionInfoList = packageManager.queryPermissionsByGroup(permissionGroupInfo.name, 0);for (PermissionInfo pi : permissionInfoList) {Log.d(TAG, "permissionGroup child =" + pi.name);}}} catch (NameNotFoundException e) {e.printStackTrace();}Log.d(TAG, "---------------------------------------权限组<");}Log.d(TAG, "===========================================");}}}}

 

 

3.AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"package="com.remote.bangdemo"android:versionCode="1"android:versionName="1.0" ><uses-sdkandroid:minSdkVersion="25"android:targetSdkVersion="25" /><permissionandroid:name="com.example.carol.playground.RESTART"android:description="@string/permission_desc" /><permission android:name="com.example.carol.playground.SHOPPING" /><uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" ></uses-permission><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" ></uses-permission><uses-permission android:name="android.permission.RECEIVE_MMS" ></uses-permission><applicationandroid:allowBackup="true"android:icon="@drawable/ic_launcher"android:label="@string/app_name"android:theme="@style/transcutestyle" ><activityandroid:name=".MainActivity"android:label="@string/app_name" ><intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LAUNCHER" /></intent-filter></activity></application></manifest>

 

 

打印log:

 

07-13 07:54:50.708 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.REQUEST_NETWORK_SCORES
07-13 07:54:50.709 22842 22842 D MainActivityZZ: permission label =android.permission.REQUEST_NETWORK_SCORES
07-13 07:54:50.709 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.709 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.709 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_MEDIA_STORAGE
07-13 07:54:50.710 22842 22842 D MainActivityZZ: permission label =android.permission.WRITE_MEDIA_STORAGE
07-13 07:54:50.710 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.710 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.710 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_EXTERNAL_STORAGE
07-13 07:54:50.732 22842 22842 D MainActivityZZ: permission label =修改或删除您的USB存储设备中的内容
07-13 07:54:50.734 22842 22842 D MainActivityZZ: permission desc =允许应用写入USB存储设备。
07-13 07:54:50.734 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.736 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.WRITE_EXTERNAL_STORAGE
07-13 07:54:50.736 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.STORAGE
07-13 07:54:50.736 22842 22842 D MainActivityZZ: permissionGroup label =存储空间
07-13 07:54:50.737 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_EXTERNAL_STORAGE
07-13 07:54:50.737 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.WRITE_EXTERNAL_STORAGE
07-13 07:54:50.737 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.737 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.737 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_EXTERNAL_STORAGE
07-13 07:54:50.738 22842 22842 D MainActivityZZ: permission label =读取您的USB存储设备中的内容
07-13 07:54:50.740 22842 22842 D MainActivityZZ: permission desc =允许应用读取您USB存储设备中的内容。
07-13 07:54:50.740 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.740 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.READ_EXTERNAL_STORAGE
07-13 07:54:50.740 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.STORAGE
07-13 07:54:50.740 22842 22842 D MainActivityZZ: permissionGroup label =存储空间
07-13 07:54:50.741 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_EXTERNAL_STORAGE
07-13 07:54:50.741 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.WRITE_EXTERNAL_STORAGE
07-13 07:54:50.741 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.741 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.741 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_SETTINGS
07-13 07:54:50.742 22842 22842 D MainActivityZZ: permission label =修改系统设置
07-13 07:54:50.744 22842 22842 D MainActivityZZ: permission desc =允许应用修改系统的设置数据。恶意应用可能会破坏您的系统配置。
07-13 07:54:50.744 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.744 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_SECURE_SETTINGS
07-13 07:54:50.744 22842 22842 D MainActivityZZ: permission label =android.permission.WRITE_SECURE_SETTINGS
07-13 07:54:50.744 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.744 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.744 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.DEVICE_POWER
07-13 07:54:50.745 22842 22842 D MainActivityZZ: permission label =android.permission.DEVICE_POWER
07-13 07:54:50.745 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.745 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.745 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CHANGE_CONFIGURATION
07-13 07:54:50.745 22842 22842 D MainActivityZZ: permission label =android.permission.CHANGE_CONFIGURATION
07-13 07:54:50.745 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.745 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.745 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MOUNT_UNMOUNT_FILESYSTEMS
07-13 07:54:50.746 22842 22842 D MainActivityZZ: permission label =android.permission.MOUNT_UNMOUNT_FILESYSTEMS
07-13 07:54:50.746 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.746 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.746 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.VIBRATE
07-13 07:54:50.747 22842 22842 D MainActivityZZ: permission label =控制振动
07-13 07:54:50.748 22842 22842 D MainActivityZZ: permission desc =允许应用控制振动器。
07-13 07:54:50.748 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.748 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.BLUETOOTH
07-13 07:54:50.750 22842 22842 D MainActivityZZ: permission label =与蓝牙设备配对
07-13 07:54:50.751 22842 22842 D MainActivityZZ: permission desc =允许该应用查看手机上的蓝牙配置,以及与配对设备建立连接或接受其连接请求。
07-13 07:54:50.751 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.751 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.BLUETOOTH_ADMIN
07-13 07:54:50.752 22842 22842 D MainActivityZZ: permission label =访问蓝牙设置
07-13 07:54:50.753 22842 22842 D MainActivityZZ: permission desc =允许应用配置本地蓝牙手机,并允许其查找远程设备且与之配对。
07-13 07:54:50.753 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.753 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.BLUETOOTH_PRIVILEGED
07-13 07:54:50.753 22842 22842 D MainActivityZZ: permission label =android.permission.BLUETOOTH_PRIVILEGED
07-13 07:54:50.754 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.754 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.754 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.NFC
07-13 07:54:50.755 22842 22842 D MainActivityZZ: permission label =控制近距离通信
07-13 07:54:50.756 22842 22842 D MainActivityZZ: permission desc =允许应用与近距离无线通信(NFC)标签、卡和读取器通信。
07-13 07:54:50.756 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.756 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.HARDWARE_TEST
07-13 07:54:50.756 22842 22842 D MainActivityZZ: permission label =android.permission.HARDWARE_TEST
07-13 07:54:50.756 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.756 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.756 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CALL_PHONE
07-13 07:54:50.757 22842 22842 D MainActivityZZ: permission label =拨打电话
07-13 07:54:50.758 22842 22842 D MainActivityZZ: permission desc =允许该应用在您未执行操作的情况下拨打电话号码。此权限可能会导致意外收费或呼叫。请注意,此权限不允许该应用拨打紧急电话号码。恶意应用可通过拨打电话产生相关费用,而无需您的确认。
07-13 07:54:50.758 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.760 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.CALL_PHONE
07-13 07:54:50.760 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.PHONE
07-13 07:54:50.760 22842 22842 D MainActivityZZ: permissionGroup label =电话
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_CALL_LOG
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_UCE_OPTIONS_SERVICE
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ANSWER_PHONE_CALLS
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_PHONE_NUMBERS
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_PHONE_STATE
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_IMS_CALL_SERVICE
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.CALL_PHONE
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_UCE_PRESENCE_SERVICE
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.WRITE_CALL_LOG
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.USE_SIP
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.PROCESS_OUTGOING_CALLS
07-13 07:54:50.761 22842 22842 D MainActivityZZ: permissionGroup child =com.android.voicemail.permission.ADD_VOICEMAIL
07-13 07:54:50.761 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.761 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.762 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MODIFY_AUDIO_SETTINGS
07-13 07:54:50.763 22842 22842 D MainActivityZZ: permission label =更改您的音频设置
07-13 07:54:50.764 22842 22842 D MainActivityZZ: permission desc =允许该应用修改全局音频设置,例如音量和用于输出的扬声器。
07-13 07:54:50.764 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.764 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MASTER_CLEAR
07-13 07:54:50.764 22842 22842 D MainActivityZZ: permission label =android.permission.MASTER_CLEAR
07-13 07:54:50.764 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.764 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.764 22842 22842 D MainActivityZZ: <uses-permission> name =com.google.android.googleapps.permission.GOOGLE_AUTH
07-13 07:54:50.766 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_DOWNLOAD_MANAGER
07-13 07:54:50.778 22842 22842 D MainActivityZZ: permission label =访问下载管理器。
07-13 07:54:50.780 22842 22842 D MainActivityZZ: permission desc =允许该应用使用下载管理器并通过它下载文件。恶意应用可能会借此中断下载并访问私人信息。
07-13 07:54:50.780 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.780 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_CONTACTS
07-13 07:54:50.781 22842 22842 D MainActivityZZ: permission label =读取联系人
07-13 07:54:50.783 22842 22842 D MainActivityZZ: permission desc =允许该应用读取您手机上存储的联系人的相关数据,包括您通过打电话、发送电子邮件或以其他方式与特定个人通信的频率。此权限可让应用保存您的联系人数据,而恶意应用可能会在您不知情的情况下分享联系人数据。
07-13 07:54:50.783 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.784 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.READ_CONTACTS
07-13 07:54:50.784 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.CONTACTS
07-13 07:54:50.784 22842 22842 D MainActivityZZ: permissionGroup label =通讯录
07-13 07:54:50.785 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.WRITE_CONTACTS
07-13 07:54:50.785 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.GET_ACCOUNTS
07-13 07:54:50.785 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_CONTACTS
07-13 07:54:50.785 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.785 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.785 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_CONTACTS
07-13 07:54:50.787 22842 22842 D MainActivityZZ: permission label =修改您的通讯录
07-13 07:54:50.788 22842 22842 D MainActivityZZ: permission desc =允许该应用修改您手机上存储的联系人的相关数据,包括您通过打电话、发送电子邮件或以其他方式与特定联系人通信的频率。此权限可让应用删除联系人数据。
07-13 07:54:50.788 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.789 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.WRITE_CONTACTS
07-13 07:54:50.789 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.CONTACTS
07-13 07:54:50.789 22842 22842 D MainActivityZZ: permissionGroup label =通讯录
07-13 07:54:50.790 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.WRITE_CONTACTS
07-13 07:54:50.790 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.GET_ACCOUNTS
07-13 07:54:50.790 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_CONTACTS
07-13 07:54:50.790 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.790 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.790 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_NETWORK_STATE
07-13 07:54:50.792 22842 22842 D MainActivityZZ: permission label =查看网络连接
07-13 07:54:50.793 22842 22842 D MainActivityZZ: permission desc =允许该应用查看网络连接的相关信息,例如存在和连接的网络。
07-13 07:54:50.793 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.793 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_WIMAX_STATE
07-13 07:54:50.794 22842 22842 D MainActivityZZ: permission label =建立或中断 WiMAX 网络连接
07-13 07:54:50.795 22842 22842 D MainActivityZZ: permission desc =允许该应用确定是否启用了 WiMAX 以及连接的任何 WiMAX 网络的相关信息。
07-13 07:54:50.795 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.795 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CHANGE_WIMAX_STATE
07-13 07:54:50.797 22842 22842 D MainActivityZZ: permission label =更改 WiMAX 状态
07-13 07:54:50.798 22842 22842 D MainActivityZZ: permission desc =允许该应用建立和断开手机与 WiMAX 网络之间的连接。
07-13 07:54:50.798 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.798 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_WIFI_STATE
07-13 07:54:50.799 22842 22842 D MainActivityZZ: permission label =查看WLAN连接
07-13 07:54:50.801 22842 22842 D MainActivityZZ: permission desc =允许该应用查看WLAN网络的相关信息,例如是否启用了WLAN以及连接的WLAN设备的名称。
07-13 07:54:50.801 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.801 22842 22842 D MainActivityZZ: <uses-permission> name =com.android.certinstaller.INSTALL_AS_USER
07-13 07:54:50.801 22842 22842 D MainActivityZZ: permission label =com.android.certinstaller.INSTALL_AS_USER
07-13 07:54:50.801 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.801 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.801 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CHANGE_WIFI_STATE
07-13 07:54:50.803 22842 22842 D MainActivityZZ: permission label =连接WLAN网络和断开连接
07-13 07:54:50.804 22842 22842 D MainActivityZZ: permission desc =允许该应用与WLAN接入点建立和断开连接,以及更改WLAN网络的设备配置。
07-13 07:54:50.805 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.805 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.TETHER_PRIVILEGED
07-13 07:54:50.805 22842 22842 D MainActivityZZ: permission label =android.permission.TETHER_PRIVILEGED
07-13 07:54:50.805 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.805 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.805 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.INTERNET
07-13 07:54:50.806 22842 22842 D MainActivityZZ: permission label =拥有完全的网络访问权限
07-13 07:54:50.807 22842 22842 D MainActivityZZ: permission desc =允许该应用创建网络套接字和使用自定义网络协议。浏览器和其他某些应用提供了向互联网发送数据的途径,因此应用无需该权限即可向互联网发送数据。
07-13 07:54:50.807 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.807 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CLEAR_APP_USER_DATA
07-13 07:54:50.808 22842 22842 D MainActivityZZ: permission label =android.permission.CLEAR_APP_USER_DATA
07-13 07:54:50.808 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.808 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.808 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_PHONE_STATE
07-13 07:54:50.809 22842 22842 D MainActivityZZ: permission label =读取手机状态和身份
07-13 07:54:50.810 22842 22842 D MainActivityZZ: permission desc =允许该应用访问设备的电话功能。此权限可让该应用确定本机号码和设备 ID、是否正处于通话状态以及拨打的号码。
07-13 07:54:50.810 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.811 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.READ_PHONE_STATE
07-13 07:54:50.811 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.PHONE
07-13 07:54:50.811 22842 22842 D MainActivityZZ: permissionGroup label =电话
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_CALL_LOG
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_UCE_OPTIONS_SERVICE
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ANSWER_PHONE_CALLS
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_PHONE_NUMBERS
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.READ_PHONE_STATE
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_IMS_CALL_SERVICE
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.CALL_PHONE
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_UCE_PRESENCE_SERVICE
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.WRITE_CALL_LOG
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.USE_SIP
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.PROCESS_OUTGOING_CALLS
07-13 07:54:50.812 22842 22842 D MainActivityZZ: permissionGroup child =com.android.voicemail.permission.ADD_VOICEMAIL
07-13 07:54:50.812 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.812 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.812 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MODIFY_PHONE_STATE
07-13 07:54:50.813 22842 22842 D MainActivityZZ: permission label =android.permission.MODIFY_PHONE_STATE
07-13 07:54:50.813 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.813 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.813 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_COARSE_LOCATION
07-13 07:54:50.814 22842 22842 D MainActivityZZ: permission label =访问大致位置信息(以网络为依据)
07-13 07:54:50.815 22842 22842 D MainActivityZZ: permission desc =此应用可根据网络来源(例如基站和 WLAN 网络)获取您的位置信息。您的手机必须支持并开启这些位置信息服务,此应用才能使用这些服务。
07-13 07:54:50.815 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.817 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.ACCESS_COARSE_LOCATION
07-13 07:54:50.817 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.LOCATION
07-13 07:54:50.817 22842 22842 D MainActivityZZ: permissionGroup label =位置信息
07-13 07:54:50.818 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_FINE_LOCATION
07-13 07:54:50.818 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.ACCESS_COARSE_LOCATION
07-13 07:54:50.818 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.818 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.818 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_APN_SETTINGS
07-13 07:54:50.818 22842 22842 D MainActivityZZ: permission label =android.permission.WRITE_APN_SETTINGS
07-13 07:54:50.818 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.818 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.818 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_CHECKIN_PROPERTIES
07-13 07:54:50.819 22842 22842 D MainActivityZZ: permission label =android.permission.ACCESS_CHECKIN_PROPERTIES
07-13 07:54:50.819 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.819 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.819 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_USER_DICTIONARY
07-13 07:54:50.819 22842 22842 D MainActivityZZ: permission label =android.permission.READ_USER_DICTIONARY
07-13 07:54:50.819 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.819 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.819 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_USER_DICTIONARY
07-13 07:54:50.820 22842 22842 D MainActivityZZ: permission label =android.permission.WRITE_USER_DICTIONARY
07-13 07:54:50.820 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.820 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.820 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.FORCE_STOP_PACKAGES
07-13 07:54:50.820 22842 22842 D MainActivityZZ: permission label =android.permission.FORCE_STOP_PACKAGES
07-13 07:54:50.820 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.820 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.820 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.PACKAGE_USAGE_STATS
07-13 07:54:50.821 22842 22842 D MainActivityZZ: permission label =android.permission.PACKAGE_USAGE_STATS
07-13 07:54:50.821 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.821 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.821 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.BATTERY_STATS
07-13 07:54:50.821 22842 22842 D MainActivityZZ: permission label =android.permission.BATTERY_STATS
07-13 07:54:50.821 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.821 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.821 22842 22842 D MainActivityZZ: <uses-permission> name =com.android.launcher.permission.READ_SETTINGS
07-13 07:54:50.823 22842 22842 D MainActivityZZ: <uses-permission> name =com.android.launcher.permission.WRITE_SETTINGS
07-13 07:54:50.825 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MOVE_PACKAGE
07-13 07:54:50.826 22842 22842 D MainActivityZZ: permission label =android.permission.MOVE_PACKAGE
07-13 07:54:50.826 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.826 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.826 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.USE_CREDENTIALS
07-13 07:54:50.826 22842 22842 D MainActivityZZ: permission label =android.permission.USE_CREDENTIALS
07-13 07:54:50.826 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.826 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.826 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.BACKUP
07-13 07:54:50.827 22842 22842 D MainActivityZZ: permission label =android.permission.BACKUP
07-13 07:54:50.827 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.827 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.827 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_SYNC_STATS
07-13 07:54:50.828 22842 22842 D MainActivityZZ: permission label =读取同步统计信息
07-13 07:54:50.829 22842 22842 D MainActivityZZ: permission desc =允许该应用读取某个帐号的同步统计信息,包括同步活动历史记录和同步数据量。
07-13 07:54:50.829 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.829 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_SYNC_SETTINGS
07-13 07:54:50.830 22842 22842 D MainActivityZZ: permission label =读取同步设置
07-13 07:54:50.831 22842 22842 D MainActivityZZ: permission desc =允许该应用读取某个帐号的同步设置。例如,此权限可确定“联系人”应用是否与某个帐号同步。
07-13 07:54:50.831 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.831 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.WRITE_SYNC_SETTINGS
07-13 07:54:50.832 22842 22842 D MainActivityZZ: permission label =启用和停用同步
07-13 07:54:50.833 22842 22842 D MainActivityZZ: permission desc =允许该应用修改某个帐号的同步设置。例如,此权限可用于在“联系人”应用与某个帐号之间启用同步。
07-13 07:54:50.833 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.833 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.STATUS_BAR
07-13 07:54:50.833 22842 22842 D MainActivityZZ: permission label =android.permission.STATUS_BAR
07-13 07:54:50.833 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.833 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.833 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_USB
07-13 07:54:50.834 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_USB
07-13 07:54:50.834 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.834 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.834 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.SET_POINTER_SPEED
07-13 07:54:50.834 22842 22842 D MainActivityZZ: permission label =android.permission.SET_POINTER_SPEED
07-13 07:54:50.834 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.834 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.834 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.SET_KEYBOARD_LAYOUT
07-13 07:54:50.835 22842 22842 D MainActivityZZ: permission label =android.permission.SET_KEYBOARD_LAYOUT
07-13 07:54:50.835 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.835 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.835 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.INTERACT_ACROSS_USERS_FULL
07-13 07:54:50.835 22842 22842 D MainActivityZZ: permission label =android.permission.INTERACT_ACROSS_USERS_FULL
07-13 07:54:50.835 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.835 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.835 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.COPY_PROTECTED_DATA
07-13 07:54:50.835 22842 22842 D MainActivityZZ: permission label =android.permission.COPY_PROTECTED_DATA
07-13 07:54:50.835 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.835 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.835 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_USERS
07-13 07:54:50.836 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_USERS
07-13 07:54:50.836 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.836 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.836 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS
07-13 07:54:50.837 22842 22842 D MainActivityZZ: permission label =管理个人资料和设备所有者
07-13 07:54:50.837 22842 22842 D MainActivityZZ: permission desc =允许应用设置个人资料所有者和设备所有者。
07-13 07:54:50.838 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.838 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_PROFILE
07-13 07:54:50.838 22842 22842 D MainActivityZZ: permission label =android.permission.READ_PROFILE
07-13 07:54:50.838 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.838 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.838 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CONFIGURE_WIFI_DISPLAY
07-13 07:54:50.838 22842 22842 D MainActivityZZ: permission label =android.permission.CONFIGURE_WIFI_DISPLAY
07-13 07:54:50.838 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.838 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.838 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CONFIGURE_DISPLAY_COLOR_MODE
07-13 07:54:50.839 22842 22842 D MainActivityZZ: permission label =android.permission.CONFIGURE_DISPLAY_COLOR_MODE
07-13 07:54:50.839 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.839 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.839 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.SET_TIME
07-13 07:54:50.839 22842 22842 D MainActivityZZ: permission label =android.permission.SET_TIME
07-13 07:54:50.839 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.839 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.839 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_NOTIFICATIONS
07-13 07:54:50.839 22842 22842 D MainActivityZZ: permission label =android.permission.ACCESS_NOTIFICATIONS
07-13 07:54:50.839 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.839 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.839 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.REBOOT
07-13 07:54:50.840 22842 22842 D MainActivityZZ: permission label =android.permission.REBOOT
07-13 07:54:50.840 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.840 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.840 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.RECEIVE_BOOT_COMPLETED
07-13 07:54:50.841 22842 22842 D MainActivityZZ: permission label =开机启动
07-13 07:54:50.842 22842 22842 D MainActivityZZ: permission desc =允许应用在系统完成引导后立即自动启动。这样可能会延长手机的启动时间,并允许应用始终运行,从而导致手机总体运行速度减慢。
07-13 07:54:50.842 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.842 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_DEVICE_ADMINS
07-13 07:54:50.842 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_DEVICE_ADMINS
07-13 07:54:50.842 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.842 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.842 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_SEARCH_INDEXABLES
07-13 07:54:50.842 22842 22842 D MainActivityZZ: permission label =android.permission.READ_SEARCH_INDEXABLES
07-13 07:54:50.842 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.842 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.842 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.OEM_UNLOCK_STATE
07-13 07:54:50.843 22842 22842 D MainActivityZZ: permission label =android.permission.OEM_UNLOCK_STATE
07-13 07:54:50.843 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.843 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.843 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_USER_OEM_UNLOCK_STATE
07-13 07:54:50.843 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_USER_OEM_UNLOCK_STATE
07-13 07:54:50.843 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.843 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.843 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.OVERRIDE_WIFI_CONFIG
07-13 07:54:50.844 22842 22842 D MainActivityZZ: permission label =android.permission.OVERRIDE_WIFI_CONFIG
07-13 07:54:50.844 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.844 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.844 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.USE_FINGERPRINT
07-13 07:54:50.845 22842 22842 D MainActivityZZ: permission label =使用指纹硬件
07-13 07:54:50.846 22842 22842 D MainActivityZZ: permission desc =允许该应用使用指纹硬件进行身份验证
07-13 07:54:50.846 22842 22842 D MainActivityZZ: ---------------------------------------权限组>
07-13 07:54:50.847 22842 22842 D MainActivityZZ: permissionGroup name =android.permission.USE_FINGERPRINT
07-13 07:54:50.847 22842 22842 D MainActivityZZ: permissionGroup group name =android.permission-group.SENSORS
07-13 07:54:50.847 22842 22842 D MainActivityZZ: permissionGroup label =身体传感器
07-13 07:54:50.848 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.BODY_SENSORS
07-13 07:54:50.848 22842 22842 D MainActivityZZ: permissionGroup child =android.permission.USE_FINGERPRINT
07-13 07:54:50.848 22842 22842 D MainActivityZZ: ---------------------------------------权限组<
07-13 07:54:50.848 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.848 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_FINGERPRINT
07-13 07:54:50.849 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_FINGERPRINT
07-13 07:54:50.849 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.849 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.849 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.USER_ACTIVITY
07-13 07:54:50.849 22842 22842 D MainActivityZZ: permission label =android.permission.USER_ACTIVITY
07-13 07:54:50.849 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.849 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.849 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.CHANGE_APP_IDLE_STATE
07-13 07:54:50.850 22842 22842 D MainActivityZZ: permission label =android.permission.CHANGE_APP_IDLE_STATE
07-13 07:54:50.850 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.850 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.850 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.PEERS_MAC_ADDRESS
07-13 07:54:50.850 22842 22842 D MainActivityZZ: permission label =android.permission.PEERS_MAC_ADDRESS
07-13 07:54:50.850 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.850 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.850 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_NOTIFICATIONS
07-13 07:54:50.850 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_NOTIFICATIONS
07-13 07:54:50.851 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.851 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.851 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.DELETE_PACKAGES
07-13 07:54:50.851 22842 22842 D MainActivityZZ: permission label =android.permission.DELETE_PACKAGES
07-13 07:54:50.851 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.851 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.851 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.MANAGE_APP_OPS_RESTRICTIONS
07-13 07:54:50.851 22842 22842 D MainActivityZZ: permission label =android.permission.MANAGE_APP_OPS_RESTRICTIONS
07-13 07:54:50.851 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.851 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.851 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS
07-13 07:54:50.852 22842 22842 D MainActivityZZ: permission label =android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS
07-13 07:54:50.852 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.852 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.852 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.READ_PRINT_SERVICES
07-13 07:54:50.852 22842 22842 D MainActivityZZ: permission label =android.permission.READ_PRINT_SERVICES
07-13 07:54:50.852 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.852 22842 22842 D MainActivityZZ: ===========================================
07-13 07:54:50.852 22842 22842 D MainActivityZZ: <uses-permission> name =android.permission.NETWORK_SETTINGS
07-13 07:54:50.853 22842 22842 D MainActivityZZ: permission label =android.permission.NETWORK_SETTINGS
07-13 07:54:50.853 22842 22842 D MainActivityZZ: permission desc =null
07-13 07:54:50.853 22842 22842 D MainActivityZZ: ===========================================

 

 

 

 

将 getUsesPermission("com.android.settings") 改成 getUsesPermission("com.remote.bangdemo"),然后再运行下:

07-13 06:26:34.483 18127 18127 D MainActivityZZ: permission label =com.example.carol.playground.RESTART
07-13 06:26:34.483 18127 18127 D MainActivityZZ: permission desc =重启
07-13 06:26:34.483 18127 18127 D MainActivityZZ: permission label =com.example.carol.playground.SHOPPING
07-13 06:26:34.483 18127 18127 D MainActivityZZ: permission desc =null
07-13 06:26:34.483 18127 18127 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_MOCK_LOCATION
07-13 06:26:34.484 18127 18127 D MainActivityZZ: permission label =android.permission.ACCESS_MOCK_LOCATION
07-13 06:26:34.484 18127 18127 D MainActivityZZ: permission desc =null
07-13 06:26:34.484 18127 18127 D MainActivityZZ: ===========================================
07-13 06:26:34.484 18127 18127 D MainActivityZZ: <uses-permission> name =android.permission.ACCESS_NETWORK_STATE
07-13 06:26:34.505 18127 18127 D MainActivityZZ: permission label =查看网络连接
07-13 06:26:34.506 18127 18127 D MainActivityZZ: permission desc =允许该应用查看网络连接的相关信息,例如存在和连接的网络。
07-13 06:26:34.506 18127 18127 D MainActivityZZ: ===========================================
07-13 06:26:34.506 18127 18127 D MainActivityZZ: <uses-permission> name =android.permission.RECEIVE_MMS
07-13 06:26:34.508 18127 18127 D MainActivityZZ: permission label =接收讯息(彩信)
07-13 06:26:34.509 18127 18127 D MainActivityZZ: permission desc =允许该应用接收和处理彩信。这就意味着,该应用可能会监视发送到您设备的彩信,或删除发送到您设备的彩信而不向您显示。
07-13 06:26:34.511 18127 18127 D MainActivityZZ: permissionGroup name =android.permission-group.SMS
07-13 06:26:34.511 18127 18127 D MainActivityZZ: permissionGroup label =短信
07-13 06:26:34.511 18127 18127 D MainActivityZZ: ===========================================

 

 

延伸:

<permission> 自定义权限

 

protectionLevel 可以引用的值如上

 

<permission> 自定义权限可以使用的属性

 

转载于:https://www.cnblogs.com/onelikeone/p/9304629.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/538272.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

linux make命令实现,Linux make命令主要参数详解

-C dir或者 --directoryDIR在读取makefile文件前&#xff0c;先切换到“dir”目录下&#xff0c;即把dir作为当前目录。如果存在多个-C选项&#xff0c;make的最终当前目录是第一个目录的相对路径&#xff0c;如“make –C /home/leowang –C document”&#xff0c;等价于“ma…

recyclerview item动画_这可能是你见过的迄今为止最简单的RecyclerView Item加载动画...

如何实现RecyclerView Item动画&#xff1f; 这个问题想必有很多人都会讲&#xff0c;我可以用ItemAnimator实现啊&#xff0c;这是RecyclerView官方定义的接口&#xff0c;专门扩展Item动画的&#xff0c;那我为什么要寻求另外一种方法实现呢&#xff1f;因为最近反思了一个问…

VBoxManage: error: Nonexistent host networking interface, name 'vboxnet0' (VERR_INTERNAL_ERROR)

错误&#xff1a; VBoxManage: error: Nonexistent host networking interface, name vboxnet0 (VERR_INTERNAL_ERROR) 原因&#xff1a; 原来配置的网卡发生了变更&#xff0c;找不到了&#xff0c;启动失败。 解决方法&#xff1a; 第一步&#xff0c;命令&#xff1a; V…

esp32 嵌入式linux,初体验乐鑫 ESP32 AT 指令-嵌入式系统-与非网

乐鑫 AT 固件初体验初步体验 AT 指令下 TCP 数传&#xff0c;为了验证 AT 命令解析器。前往乐鑫官网 下载最新版本 AT 固件和 AT 指令集手册。硬件准备本文使用乐鑫的 ESP-WROOM-32(ESP-WROOM-32 是 ESP32-WROOM-32 的曾用名)模块&#xff0c;4MB Flash&#xff0c;无 PSRAM。E…

主机ping不通Virtualbox里的虚拟机

在redhat上安装了VirtualBox&#xff0c;虚拟了三台Linux机器。 宿主机网卡更换过了。三台虚拟机无法启动了&#xff0c;搭建虚拟机的运维离职了。 VirtualBox的图形界面坏了&#xff0c;启动不了。只能用命令行&#xff0c;今天时间就花在命令行上了。 第一个问题是&#xf…

Git之原有基础开发新功能

场景描述 当一个项目已经上线&#xff0c;同时又在原有基础上新增功能模块&#xff0c;于是乎就要在原有代码的基础上进行开发&#xff0c;在新增模块功能的开发的过程中&#xff0c;项目发现了一个紧急Bug&#xff0c;需要修复。操作流程如下&#xff1a; -------------------…

os.popen read()报编码错误_数据科学家易犯的十大编码错误,你中招了吗?

选自 Medium作者&#xff1a;Norm Niemer机器之心编译参与&#xff1a;李诗萌、王淑婷数据科学家比软件工程师擅长统计&#xff0c;又比统计学家擅长软件工程。听起来牛逼轰轰&#xff0c;事实却是&#xff0c;许多数据科学家有统计学背景&#xff0c;却没有什么软件工程方面的…

linux怎么添加工作组,linux 用户与工作组

在linux 里面&#xff0c;用户的编号UID &#xff0c;也就是用户的ID号。工作组的编号为GID 也就是工作组的ID 号 。1、用户的分类超级用户&#xff1a;root用户&#xff0c;系统安装过程中自动创建&#xff0c;UID 为0。普通用户&#xff1a;操作权限受到限制的用户id在 500-6…

MySQL5.7.12新密码登录方式及密码策略

原文链接&#xff1a;http://www.cnblogs.com/jonsea/p/5510219.html --------------------------------------------------------------------------- 松门一枝花补充 最简单的方法&#xff1a; 1、配置文件中把密码策略关了。本文中间部分有介绍。 2、重启服务 3、用my…

记一次,jvm 内存溢出

1、什么是内存泄漏内存泄漏是指&#xff0c;有未被释放的java对象&#xff0c;一直停留在内存中。GCRoot 无法追踪到此对象&#xff0c;导致此对象无法被回收。 2、什么是内存溢出内存溢出是指&#xff0c;java程序创建对象需要内存&#xff0c;但是却没有内存可用了&#xff0…

钻石指标和完美的计算

钻石的高度计算公式为&#xff1a;钻石的高度直径的三次方&#xff08;单位毫米&#xff09;0.00366(允许有0.03克拉的误差)例如&#xff0c;0.5克拉的钻石直径是5.01毫米&#xff0c;则它的高为&#xff1a;5.01*5.01*5.01*0.003660.46说明0.5克拉的钻石直径只有0.46克拉钻石的…

Spark应用日志级别设置

Spark-core包设置默认的日志级别为info&#xff0c;所以我们才看到一大堆日志信息。 开发的时候&#xff0c;把print的日志掩盖了。 方法一&#xff1a; 代码中设置日志级别 JavaSparkContext contextnew JavaSparkContext(conf); context.setLogLevel("warn"); 方…

linux find 按类型查找,Linux find查找find命令详解

玩蛇网推荐图文教程&#xff1a;python 列表Linux命令有很多&#xff0c;今天要介绍的是常用的基础命令中的find命令。find是Linux系统管理员所喜爱用的必备工具命令之一&#xff0c;它的作用是可以很轻松地找到你想要的文件&#xff0c;一个命令就可以在众多文件中找到你的目标…

window安装gcc编译器

在使用 GraphLab Create 时&#xff0c;导入包失败&#xff0c;提示libs没有的导入&#xff0c;而这些libs的编译是需要gcc。 1、访问&#xff1a;http://www.mingw.org/ 下载。 2、双击安装 3、安装好后会弹出下面的组件安装界面 3、找到mingw32-gcc-g&#xff08;注意cl…

element表格实现树形全选_很实用!word中全选的快捷键介绍及使用方法

全选快捷键可以提高我们在操作word时工作效率&#xff0c;在操作Word2003中怎么对文档中的文字进行全选呢?下面为大家提供几种全选的方法&#xff0c;绝对好用。Word怎样全选?方法一、使用Word全选快捷键“CtrlA”进行全选(也适用于电子表格);方法二、展开菜单栏中的“编辑”…

linux 视频编辑 ffmpeg,ffmpeg转码视频真的好用!(ffmpeg的简单使用方法)

说明转码和编辑视频今天用Android Studio(后面简称AS)里的模拟器给系统录屏&#xff0c;用来展示OpenGL可视化的东西&#xff0c;打算上传B站&#xff0c;后来发现AS只能保存webm格式和GIF格式的视频&#xff0c;并且文件体积巨大&#xff0c;视频图像也是顺时针旋转的。没办法…

requests库入门09-OAUTH认证

实际登陆中&#xff0c;认证用到的token会变的&#xff0c;不过可以在GIthub设置一个私人token。 如图&#xff0c;登录GIthub&#xff0c;然后用户下面选择Settings/Developer settings/Personal access tokens,点击Generate new token&#xff0c;然后随便输个描述&#xff0…

深入了解HashMap

什么是hash&#xff1f;哈希算法将任意长度的二进制值映射为较短的固定长度的二进制值&#xff0c;这个小的二进制值称为哈希值。哈希值是一段数据唯一且极其紧凑的数值表示形式。如果散列一段明文而且哪怕只更改该段落的一个字母&#xff0c;随后的哈希都将产生不同的值。要找…

snort入侵检测系统下载Linux,入侵检测系统Snort 2.9.0.2 发布

Snort 是一个免费的、跨平台的软件包&#xff0c;用作监视小型 TCP/IP 网的嗅探器、日志记录、侵入探测器。Snort 是全世界上使用最广泛的入侵预防与侦测软件。Snort 有三种工作模式&#xff1a;嗅探器、数据包记录器、网络入侵检测系统。嗅探器模式仅仅是从网络上读取数据包并…

linux shmmax单位,Linux核心参数Shmmax,shmall,shmni

Linux 下核心参数调整kernel.shmmaxshmmax是核心参数中最重要的参数之一&#xff0c;用于定义单个共享内存段的最大值&#xff0c;shmmax设置应足够大&#xff0c;能在一个共享内存段下容纳下整个的SGA&#xff0c;设置的过低可能会导致需要创建多个共享内存段&#xff0c;可能…