/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentCompat.java | 38 void requestPermissions(Fragment fragment, String[] permissions, int requestCode); in requestPermissions() argument 50 public void requestPermissions(final Fragment fragment, final String[] permissions, in requestPermissions() argument 56 final int[] grantResults = new int[permissions.length]; in requestPermissions() 63 final int permissionCount = permissions.length; in requestPermissions() 66 permissions[i], packageName); in requestPermissions() 73 requestCode, permissions, grantResults); in requestPermissions() 99 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { in requestPermissions() argument 100 FragmentCompat23.requestPermissions(fragment, permissions, requestCode); in requestPermissions() 150 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 222 @NonNull String[] permissions, int requestCode) { in requestPermissions() argument [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattDescriptor.java | 127 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor() argument 128 initDescriptor(null, uuid, 0, permissions); in BluetoothGattDescriptor() 140 int instance, int permissions) { in BluetoothGattDescriptor() argument 141 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor() 147 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor() argument 148 initDescriptor(null, uuid, instance, permissions); in BluetoothGattDescriptor() 152 int instance, int permissions) { in initDescriptor() argument 156 mPermissions = permissions; in initDescriptor()
|
D | BluetoothGattCharacteristic.java | 234 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { in BluetoothGattCharacteristic() argument 235 initCharacteristic(null, uuid, 0, properties, permissions); in BluetoothGattCharacteristic() 244 int properties, int permissions) { in BluetoothGattCharacteristic() argument 245 initCharacteristic(service, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic() 253 int properties, int permissions) { in BluetoothGattCharacteristic() argument 254 initCharacteristic(null, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic() 259 int properties, int permissions) { in initCharacteristic() argument 263 mPermissions = permissions; in initCharacteristic()
|
/frameworks/base/docs/html/training/articles/ |
D | user-data-overview.jd | 2 page.metaDescription=An overview of permissions on Android and how to manage them. 3 page.tags="user data","permissions","identifiers" 22 <li><a href="{@docRoot}guide/topics/security/permissions.html">System Permissions</a></li> 23 <li><a href="{@docRoot}training/permissions/index.html">Working with System 36 This document provides a high-level overview on how permissions work in 37 Android so you can make better, more informed decisions about the permissions 43 For specific recommendations on how to manage permissions, please see 44 <a href="{@docRoot}training/articles/user-data-permissions.html">Best 48 Identifiers</a>. For details on how to work with permissions in your code, 49 see <a href="{@docRoot}training/permissions/index.html">Working with System [all …]
|
D | user-data-permissions.jd | 2 page.metaDescription=How to manage permissions to give users context and control. 3 page.tags=permissions, user data 4 meta.tags="permissions", "user data" 36 <li><a href="{@docRoot}guide/topics/security/permissions.html">System Permissions</a></li> 37 <li><a href="{@docRoot}training/permissions/index.html">Working with System 48 to such information; it is not an exhaustive discussion of how permissions 53 For a more general look at Android permissions, please see <a href= 55 and User Data</a>. For details on how to work with permissions in your code, 56 see <a href="{@docRoot}training/permissions/index.html">Working with System Permissions</a>. 66 We recommend following these tenets when working with Android permissions: [all …]
|
D | wear-permissions.jd | 27 <li><a href="{@docRoot}guide/topics/security/permissions.html">System Permissions</a></li> 28 <li><a href="{@docRoot}training/permissions/index.html">Working with System Permissions</a></li> 33 introduces a new <a href="{@docRoot}training/permissions/requesting.html">permissions model</a>, 37 <p>The user must now grant permissions to Wear apps separately from the handset versions of the 39 permissions that the user had granted to the handset version of the app. However, from Android 6.0 40 (API level 23), the Wear app no longer inherits these permissions. Thus, for example, 44 <p>For both Wear and handset apps, the Android 6.0 (API level 23) permissions model also 46 every permission an app may ever need. Instead, the app does not request permissions until it 49 <p class="note"><strong>Note: </strong> For an app to use the new permissions model, it must 54 <p>The rest of this document discusses how to use the Android 6.0 (API level 23) permissions model [all …]
|
/frameworks/base/docs/html/about/versions/marshmallow/ |
D | android-6.0-testing.jd | 12 <li><a href="#runtime-permissions">Testing Permissions</a></li> 35 <li><a href="#runtime-permissions">Permissions</a> 42 <h2 id="runtime-permissions">Testing Permissions</h2> 45 The new <a href="{@docRoot}preview/features/runtime-permissions.html">Permissions</a> model 46 changes the way that permissions are allocated to your app by the user. Instead of granting all 47 permissions during the install procedure, your app must ask the user for individual permissions 50 can grant or revoke the permissions granted to an app individually at any time. This feature of 58 should begin planning your app’s migration to the new permissions model now, with a goal of 67 permissions behavior. 71 <li>Identify your app’s current permissions and the related code paths.</li> [all …]
|
/frameworks/base/docs/html/guide/topics/security/ |
D | permissions.jd | 2 page.tags=permissions 13 <li><a href="#permissions">Using Permissions</a></li> 37 <li><a href="{@docRoot}training/permissions/index.html">Working with System 51 href="https://www.google.com/design/spec/patterns/permissions.html"> 75 that a particular process can perform, and per-URI permissions for granting 97 <em>permissions</em> they need for additional capabilities not provided by 98 the basic sandbox. Applications statically declare the permissions they 120 permissions</a> and to grant or deny an application's <a 140 user ID and file permissions. Note that in order to retain security, only two applications 153 owned by your application, but its global read and/or write permissions have [all …]
|
D | normal-permissions.jd | 2 page.tags=permissions,normal 23 <li><a href="{@docRoot}training/permissions/index.html">Working with System 38 Many permissions are designated as {@link 42 those permissions. For example, users would reasonably want to know whether 54 permissions, and users cannot revoke these permissions. 57 <p>As of API level 23, the following permissions are classified as {@link
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | PermissionHelper.java | 27 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, in requestPermissions() argument 30 PermissionHelper23.requestPermissions(fragment, permissions, requestCode); in requestPermissions() 35 String[] permissions, int requestCode) { in requestPermissions() argument 36 fragment.requestPermissions(permissions, requestCode); in requestPermissions()
|
/frameworks/base/docs/html/training/permissions/ |
D | best-practices.jd | 2 page.tags=permissions 77 If you use permissions: 120 version of Android, the user has to grant every one of the app's permissions 123 minimize the number of permissions your app needs. 137 grant your app its permissions while they are running the app. If you 138 confront the user with a lot of requests for permissions at once, you may 140 for permissions as you need them. 144 In some cases, one or more permissions might be absolutely essential to your 145 app. It might make sense to ask for all of those permissions as soon as the 158 essential permissions at the end of the tutorial sequence. [all …]
|
D | index.jd | 2 page.tags=permissions 18 <li><a href="{@docRoot}guide/topics/security/permissions.html"> 27 href="https://www.google.com/design/spec/patterns/permissions.html"> 44 This class shows you how to declare and request permissions for your app. 55 Learn how to declare the permissions you need in your app manifest. 63 Learn how to request permissions from the user while the app is running. 74 permissions.
|
D | requesting.jd | 2 page.tags="runtime permissions",androidm,marshmallow 4 page.metaDescription=Learn about runtime permissions and how they make it easier for users to insta… 32 "{@docRoot}guide/topics/security/permissions.html#normal-dangerous">Normal 41 permissions to apps while the app is running, not when they install the app. 43 install process, since the user does not need to grant permissions when they 47 permissions at any time, by going to the app's Settings screen. 51 System permissions are divided into two categories, <em>normal</em> and 56 <li>Normal permissions do not directly risk the user's privacy. If your app 61 <li>Dangerous permissions can give the app access to the user's confidential 70 "{@docRoot}guide/topics/security/permissions.html#normal-dangerous">Normal [all …]
|
D | declaring.jd | 27 <li><a href="{@docRoot}guide/topics/security/permissions.html#permissions"> 29 <li><a href="{@docRoot}guide/topics/security/permissions.html#normal-dangerous"> 58 that require a permission. Typically, an app is going to need permissions 63 system permissions, see <a href= 64 "{@docRoot}guide/topics/security/permissions.html#normal-dangerous">Normal 69 Your app only needs permissions for actions that it performs directly. Your 75 Contacts app, your app does not need any permissions, but the 99 <!-- other permissions go here --> 112 For more information about the different kinds of permissions, see 113 <a href="{@docRoot}guide/topics/security/permissions.html#normal-dangerous">Normal
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | uses-permission-sdk-23-element.jd | 2 page.tags="uses-permission-sdk-23","permissions","uses-permission-sdk23" 32 at install time to grant all new permissions that are declared in that 35 additional permissions to update the app. By using the 40 href="{@docRoot}training/permissions/requesting.html">runtime permissions</a> 42 grants permissions to the app while it is running. 46 For more information on permissions, see the <a href= 49 "{@docRoot}guide/topics/security/permissions.html">System Permissions</a> 50 API guide. A list of permissions defined by the base platform is available 67 of the standard system permissions, such as
|
D | permission-tree-element.jd | 16 <dd itemprop="description">Declares the base name for a tree of permissions. The application takes 17 ownership of all names within the tree. It can dynamically add new permissions 20 {@code com.example.project.taxes}, permissions like the following might be 29 namespace in which further permissions can be placed. See the 31 element for information on declaring permissions. 36 <dd>An icon representing all the permissions in the tree. This attribute
|
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/marshmallow/ |
D | android-6.0-testing.jd | 12 <li><a href="#runtime-permissions">测试权限</a></li> 35 <li><a href="#runtime-permissions">权限</a> 49 <h2 id="runtime-permissions">测试权限</h2> 52 新<a href="{@docRoot}preview/features/runtime-permissions.html">权限</a>模型改变了用户向您的应用分配权限的方式。 84 <pre>adb shell pm list permissions -d -g</pre> 121 …如需了解有关运行时权限行为、测试和最佳做法的详细信息,请参阅<a href="{@docRoot}preview/features/runtime-permissions.html">权限</a>…
|
/frameworks/base/docs/html-intl/intl/ja/about/versions/marshmallow/ |
D | android-6.0-testing.jd | 12 <li><a href="#runtime-permissions">パーミッションをテストする</a></li> 35 <li><a href="#runtime-permissions">パーミッション</a> 49 <h2 id="runtime-permissions">パーミッションをテストする</h2> 52 …<a href="{@docRoot}preview/features/runtime-permissions.html">パーミッション</a> モデルの変更により、ユーザーがアプリにパーミッシ… 84 <pre>adb shell pm list permissions -d -g</pre> 121 …ついては、Developer Preview ページの<a href="{@docRoot}preview/features/runtime-permissions.html">パーミッション</…
|
/frameworks/base/docs/html-intl/intl/ko/about/versions/marshmallow/ |
D | android-6.0-testing.jd | 12 <li><a href="#runtime-permissions">권한 테스트</a></li> 35 <li><a href="#runtime-permissions">권한</a> 49 <h2 id="runtime-permissions">권한 테스트</h2> 52 …새로운 <a href="{@docRoot}preview/features/runtime-permissions.html">권한</a> 모델은 사용자가 여러분의 앱에 권한을 할당하는… 84 <pre>adb shell pm list permissions -d -g</pre> 121 …런타임 권한의 동작, 테스트 및 모범 사례에 대한 자세한 정보는 <a href="{@docRoot}preview/features/runtime-permissions.html">…
|
/frameworks/base/core/java/android/permissionpresenterservice/ |
D | RuntimePermissionPresenterService.java | 119 List<RuntimePermissionPresentationInfo> permissions = 121 if (permissions != null && !permissions.isEmpty()) { 124 permissions);
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | ActivityCompat.java | 71 void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 370 final @NonNull String[] permissions, final @IntRange(from = 0) int requestCode) { in requestPermissions() argument 372 ActivityCompatApi23.requestPermissions(activity, permissions, requestCode); in requestPermissions() 378 final int[] grantResults = new int[permissions.length]; in requestPermissions() 383 final int permissionCount = permissions.length; in requestPermissions() 386 permissions[i], packageName); in requestPermissions() 390 requestCode, permissions, grantResults); in requestPermissions()
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | RuntimePermissionPresenter.java | 72 List<RuntimePermissionPresentationInfo> permissions) { in onGetAppPermissions() 231 List<RuntimePermissionPresentationInfo> permissions = null; in handleMessage() 233 permissions = result.getParcelableArrayList(KEY_RESULT); in handleMessage() 235 if (permissions == null) { in handleMessage() 236 permissions = Collections.emptyList(); in handleMessage() 238 reportedPermissions = permissions; in handleMessage()
|
/frameworks/support/v17/leanback/api23/android/support/v17/leanback/app/ |
D | PermissionHelper23.java | 18 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, in requestPermissions() argument 20 fragment.requestPermissions(permissions, requestCode); in requestPermissions()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 104 String lookupKey, String[] permissions) { in RecipientEntry() argument 107 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions); in RecipientEntry() 113 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) { in RecipientEntry() argument 130 mPermissions = permissions; in RecipientEntry() 222 public static RecipientEntry constructPermissionEntry(String[] permissions) { in constructPermissionEntry() argument 236 permissions); in constructPermissionEntry()
|
/frameworks/support/v13/api23/android/support/v13/app/ |
D | FragmentCompat23.java | 22 public static void requestPermissions(Fragment fragment, String[] permissions, in requestPermissions() argument 24 fragment.requestPermissions(permissions, requestCode); in requestPermissions()
|