Home
last modified time | relevance | path

Searched refs:permissions (Results 1 – 25 of 109) sorted by relevance

12345

/development/apps/DumpViewer/
DREADME.md13 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/
DMonkeyPermissionUtil.java123 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/
DREADME4 a list of signature|privileged permissions that are requested by
7 Used for generating an initial version of privapp-permissions.xml file
Dprivapp_permissions.py562 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.jd8 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/
DPhonePermissionRequestActivity.java84 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/
DPermissionRequestFragment.java110 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/
DCamera2VideoFragment.java361 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/
DMainActivity.java304 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.jd8 A sample that shows how you can handle remote data that requires permissions both on
/development/apps/SdkSetup/
DAndroid.bp17 sub_dir: "permissions",
/development/samples/browseable/RuntimePermissionsBasic/
D_index.jd8 …This sample shows a basic implementation for requesting permissions at runtime. Click the button t…
/development/gsi/repack_super_image/
Drepack_super_image.py55 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/
DCalendarWatchFacePermissionActivity.java45 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() argument
/development/python-packages/
DNOTICE12 See the License for the specific language governing permissions and
/development/docs/copyright-templates/
Djava.txt13 * See the License for the specific language governing permissions and
Dmake.txt12 # See the License for the specific language governing permissions and
Dc.txt13 * See the License for the specific language governing permissions and
Dplain.txt12 See the License for the specific language governing permissions and
Dasm.txt12 ; See the License for the specific language governing permissions and
/development/vndk/tools/
DAndroid.bp13 // See the License for the specific language governing permissions and
/development/vndk/
DAndroid.bp13 // See the License for the specific language governing permissions and
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java264 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, in onRequestPermissionsResult() argument
304 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
/development/samples/apkcachetest/
DAndroid.bp13 // See the License for the specific language governing permissions and
/development/tools/apkcheck/
DAndroid.bp12 // See the License for the specific language governing permissions and

12345