/packages/apps/CertInstaller/ |
AndroidManifest.xml | 6 <permission android:name="com.android.certinstaller.INSTALL_AS_USER" 8 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 9 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 10 <uses-permission android:name="android.permission.MANAGE_USERS" /> 36 android:permission="com.android.certinstaller.INSTALL_AS_USER">
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
ManagePermissionsActivity.java | 17 package com.android.packageinstaller.permission.ui; 24 import com.android.packageinstaller.permission.ui.wear.AppPermissionsFragmentWear; 44 fragment = com.android.packageinstaller.permission.ui.television 47 fragment = com.android.packageinstaller.permission.ui.handheld 62 fragment = com.android.packageinstaller.permission.ui.television 65 fragment = com.android.packageinstaller.permission.ui.handheld 78 fragment = com.android.packageinstaller.permission.ui.television 81 fragment = com.android.packageinstaller.permission.ui.handheld
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
DownloadProviderPermissionsTest.java | 17 package com.android.providers.downloads.permission.tests; 48 * <p>Tests Permission: 49 * {@link android.Manifest.permission#ACCESS_CACHE_FILESYSTEM} 69 * <p>Tests Permission: 70 * {@link com.android.providers.downloads.Manifest.permission#ACCESS_DOWNLOAD_MANAGER} 72 * {@link android.Manifest.permission#INTERNET} 88 * <p>Tests Permission: 89 * {@link com.android.providers.downloads.Manifest.permission#ACCESS_DOWNLOAD_MANAGER}
|
/packages/services/Telecomm/tests/ |
AndroidManifest.xml | 28 <uses-permission android:name="android.permission.BLUETOOTH" /> 31 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> 32 <uses-permission android:name="android.permission.MANAGE_USERS" /> 35 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
|
/pdk/apps/TestingCamera/ |
AndroidManifest.xml | 21 <uses-permission android:name="android.permission.CAMERA" /> 27 <uses-permission android:name="android.permission.RECORD_AUDIO"/> 28 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 29 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
/pdk/apps/TestingCamera2/ |
AndroidManifest.xml | 24 <uses-permission android:name="android.permission.CAMERA" /> 39 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 40 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 41 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
/platform_testing/tests/functional/otatests/ |
AndroidManifest.xml | 9 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
/platform_testing/tests/functional/testapks/permissiontestappmv1/res/layout/ |
activity_main.xml | 9 android:text="Build Target: M\nVersion: 1.0\nDangerous Permissions:Contacts\nNormal Permission: \n\n\n" /> 13 android:text="Get Contact Permission" />
|
/frameworks/base/core/java/android/app/backup/ |
IBackupManager.aidl | 41 * only callers who hold the android.permission.BACKUP permission 51 * only callers who hold the android.permission.BACKUP permission 81 * <p>Callers must hold the android.permission.BACKUP permission to use this method. 93 * <p>Callers must hold the android.permission.BACKUP permission to use this method. 103 * <p>Callers must hold the android.permission.BACKUP permission to use this method [all...] |
/libcore/ojluni/src/main/java/java/security/acl/ |
Acl.java | 54 * principal is considered to have a null (empty) permission set.<p> 57 * particular permission, and a negative entry that denies the 58 * principal the same permission, the result is as though the 59 * permission was never granted or denied. <p> 167 * specified principal, an empty permission set is returned.<p> 169 * <li>Otherwise, the principal's group permission sets are determined. 172 * The group positive permission set is the union of all 174 * The group negative permission set is the union of all 176 * If there is a specific permission that occurs in both 177 * the positive permission set and the negative permission set [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoSystemFunctionPermissionTest.java | 18 package android.permission.cts; 42 * <p>Requires Permission: 43 * {@link android.Manifest.permission#RESTART_PACKAGES}. 60 * <p>Requires Permission: 61 * {@link android.Manifest.permission#SET_TIME_ZONE}. 80 * <p>Requires Permission: 81 * {@link android.Manifest.permission#SET_WALLPAPER}. 112 * <p>Requires Permission: 113 * {@link android.Manifest.permission#VIBRATE}. 145 * <p>Requires Permission [all...] |
/ndk/sources/cxx-stl/stlport/ |
LICENSE | 5 Licensee shall maintain the following copyright and permission notices on STLport sources and its documentation unchanged : 10 Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. 15 The conditions indicated in the above permission notice are met; 16 The following copyright notices are retained when present, and conditions provided in accompanying permission notices are met : 23 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard Company makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 25 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 27 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is h (…) [all...] |
NOTICE | 5 Licensee shall maintain the following copyright and permission notices on STLport sources and its documentation unchanged : 10 Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. 15 The conditions indicated in the above permission notice are met; 16 The following copyright notices are retained when present, and conditions provided in accompanying permission notices are met : 23 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard Company makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 25 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 27 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is h (…) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/stlport/ |
LICENSE | 5 Licensee shall maintain the following copyright and permission notices on STLport sources and its documentation unchanged : 10 Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. 15 The conditions indicated in the above permission notice are met; 16 The following copyright notices are retained when present, and conditions provided in accompanying permission notices are met : 23 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard Company makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 25 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 27 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is h (…) [all...] |
NOTICE | 5 Licensee shall maintain the following copyright and permission notices on STLport sources and its documentation unchanged : 10 Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. 15 The conditions indicated in the above permission notice are met; 16 The following copyright notices are retained when present, and conditions provided in accompanying permission notices are met : 23 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard Company makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 25 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. 27 Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is h (…) [all...] |
/frameworks/base/core/java/android/annotation/ |
RequiresPermission.java | 33 * Example of requiring a single permission: 35 * {@literal @}RequiresPermission(Manifest.permission.SET_WALLPAPER) 41 * Example of requiring at least one permission from a set: 59 * a permission which depends on the value of the parameter. For example, consider 64 * Notice how there are no actual permission names listed in the annotation. The actual 71 * and the actual permission requirement for this particular intent is described on 74 * {@literal @}RequiresPermission(Manifest.permission.CALL_PHONE) 84 * The name of the permission that is required, if precisely one permission 85 * is required. If more than one permission is required, specify eithe [all...] |
/frameworks/support/annotations/src/android/support/annotation/ |
RequiresPermission.java | 31 * Example of requiring a single permission: 33 * @RequiresPermission(Manifest.permission.SET_WALLPAPER) 39 * Example of requiring at least one permission from a set: 57 * a permission which depends on the value of the parameter. For example, consider 62 * Notice how there are no actual permission names listed in the annotation. The actual 69 * and the actual permission requirement for this particular intent is described on 72 * @RequiresPermission(Manifest.permission.CALL_PHONE) 80 * The name of the permission that is required, if precisely one permission 81 * is required. If more than one permission is required, specify eithe [all...] |
/libcore/ojluni/src/main/java/java/security/ |
UnresolvedPermissionCollection.java | 38 * @see java.security.Permission 53 * Key is permission type, value is a list of the UnresolvedPermissions 68 * Adds a permission to this UnresolvedPermissionCollection. 69 * The key for the hash is the unresolved permission's type (class) name. 71 * @param permission the Permission object to add. 74 public void add(Permission permission) 76 if (! (permission instanceof UnresolvedPermission)) 77 throw new IllegalArgumentException("invalid permission: " [all...] |
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.java | 47 * This Activity requests permissions to access the camera ({@link android.Manifest.permission#CAMERA}) 49 * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link 50 * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts' 76 * Now, if a permission has been disable by the system through the application settings, disabled 89 * Id to identify a camera permission request. 94 * Id to identify a contacts permission request. 101 private static String[] PERMISSIONS_CONTACT = {Manifest.permission.READ_CONTACTS, 102 Manifest.permission.WRITE_CONTACTS}; 117 Log.i(TAG, "Show camera button pressed. Checking permission."); 119 // Check if the Camera permission is already available [all...] |
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/ |
MainActivity.java | 47 * This Activity requests permissions to access the camera ({@link android.Manifest.permission#CAMERA}) 49 * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link 50 * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts' 76 * Now, if a permission has been disable by the system through the application settings, disabled 89 * Id to identify a camera permission request. 94 * Id to identify a contacts permission request. 101 private static String[] PERMISSIONS_CONTACT = {Manifest.permission.READ_CONTACTS, 102 Manifest.permission.WRITE_CONTACTS}; 117 Log.i(TAG, "Show camera button pressed. Checking permission."); 119 // Check if the Camera permission is already available [all...] |
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/ |
MainActivity.java | 47 * This Activity requests permissions to access the camera ({@link android.Manifest.permission#CAMERA}) 49 * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link 50 * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts' 76 * Now, if a permission has been disable by the system through the application settings, disabled 89 * Id to identify a camera permission request. 94 * Id to identify a contacts permission request. 101 private static String[] PERMISSIONS_CONTACT = {Manifest.permission.READ_CONTACTS, 102 Manifest.permission.WRITE_CONTACTS}; 117 Log.i(TAG, "Show camera button pressed. Checking permission."); 119 // Check if the Camera permission is already available [all...] |
/cts/apps/PermissionApp/ |
AndroidManifest.xml | 23 <uses-permission android:name="android.permission.READ_CONTACTS"/> 29 <action android:name="com.android.cts.permission.action.CHECK_HAS_PERMISSION" /> 30 <action android:name="com.android.cts.permission.action.REQUEST_PERMISSION" />
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp24/ |
AndroidManifest.xml | 21 <uses-permission android:name="android.permission.SEND_SMS" /> 22 <uses-permission android:name="android.permission.RECEIVE_SMS" />
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/ |
AndroidManifest.xml | 21 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> 22 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
/cts/hostsidetests/ui/control/ |
AndroidManifest.xml | 20 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 21 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|