/development/apps/DumpViewer/ |
D | README.md | 13 DumpViewer requires some development permissions in order to read logcat and dumpsys. 14 To install, pass the `-g` option to `adb install` to give the needed permissions: 22 Alternatively, you can grant the permissions with `pm grant`:
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionUtil.java | 123 List<PermissionInfo> permissions = new ArrayList<>(); in populatePermissionsMapping() local 134 permissions.add(pi); in populatePermissionsMapping() 137 if (!permissions.isEmpty()) { in populatePermissionsMapping() 138 mPermissionMap.put(info.packageName, permissions); in populatePermissionsMapping()
|
/development/tools/privapp_permissions/ |
D | README | 4 a list of signature|privileged permissions that are requested by 7 Used for generating an initial version of privapp-permissions.xml file
|
D | privapp_permissions.py | 562 permissions = [] 570 permissions.append(name) 576 return {'package_name': package_name, 'permissions': permissions} 621 permissions = (node.getElementsByTagName('permission') + 627 for p in permissions:
|
/development/samples/browseable/RuntimePermissions/ |
D | _index.jd | 8 This sample shows runtime permissions available in Android M and above. 11 that is declared with optional, M and above only permissions.
|
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | PhonePermissionRequestActivity.java | 84 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 86 String permissionResult = "Request code: " + requestCode + ", Permissions: " + permissions in onRequestPermissionsResult()
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | PermissionRequestFragment.java | 110 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 115 if (permissions.length != 1 || grantResults.length != 1 || in onRequestPermissionsResult() 122 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 361 private boolean shouldShowRequestPermissionRationale(String[] permissions) { in shouldShowRequestPermissionRationale() argument 362 for (String permission : permissions) { in shouldShowRequestPermissionRationale() 382 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 399 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 403 private boolean hasPermissionsGranted(String[] permissions) { in hasPermissionsGranted() argument 404 for (String permission : permissions) { in hasPermissionsGranted()
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | MainActivity.java | 304 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 307 Log.d(TAG, "onRequestPermissionsResult(): " + permissions); in onRequestPermissionsResult() 332 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/development/samples/browseable/RuntimePermissionsWear/ |
D | _index.jd | 8 A sample that shows how you can handle remote data that requires permissions both on
|
/development/apps/SdkSetup/ |
D | Android.bp | 17 sub_dir: "permissions",
|
/development/samples/browseable/RuntimePermissionsBasic/ |
D | _index.jd | 8 …This sample shows a basic implementation for requesting permissions at runtime. Click the button t…
|
/development/gsi/repack_super_image/ |
D | repack_super_image.py | 55 permissions = (stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH | 62 os.chmod(file_path, file_stat.st_mode | permissions)
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | CalendarWatchFacePermissionActivity.java | 45 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
|
/development/python-packages/ |
D | NOTICE | 12 See the License for the specific language governing permissions and
|
/development/docs/copyright-templates/ |
D | java.txt | 13 * See the License for the specific language governing permissions and
|
D | make.txt | 12 # See the License for the specific language governing permissions and
|
D | c.txt | 13 * See the License for the specific language governing permissions and
|
D | plain.txt | 12 See the License for the specific language governing permissions and
|
D | asm.txt | 12 ; See the License for the specific language governing permissions and
|
/development/vndk/tools/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/development/vndk/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/ |
D | MainActivity.java | 264 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument 304 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
|
/development/samples/apkcachetest/ |
D | Android.bp | 13 // See the License for the specific language governing permissions and
|
/development/tools/apkcheck/ |
D | Android.bp | 12 // See the License for the specific language governing permissions and
|