/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/ |
D | MyActivity.java | 31 public final String[] permissions; field in MyActivity.Result 34 public Result(int requestCode, String[] permissions, int[] grantResults) { in Result() argument 36 this.permissions = permissions; in Result() 51 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 54 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS); in onRequestPermissionsResult()
|
D | UsePermissionTest.java | 103 assertEquals(android.Manifest.permission.READ_EXTERNAL_STORAGE, result.permissions[0]); in testInteractiveGrant() 104 assertEquals(android.Manifest.permission.WRITE_EXTERNAL_STORAGE, result.permissions[1]); in testInteractiveGrant() 147 assertEquals(android.Manifest.permission.WRITE_CONTACTS, result.permissions[0]); in testRuntimeGroupGrantSpecificity() 184 assertEquals(android.Manifest.permission.RECEIVE_SMS, result.permissions[0]); in testRuntimeGroupGrantExpansion()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
D | FileUtils.java | 114 StringBuilder permissions = new StringBuilder("-rwxrwxrwx"); in getFormattedPermissions() local 120 permissions.setCharAt(0, typeSymbols[i]); in getFormattedPermissions() 129 permissions.setCharAt(1 + i, '-'); in getFormattedPermissions() 135 permissions.setCharAt(3, hasModeFlag(mode, S_IXUSR) ? 's' : 'S'); in getFormattedPermissions() 139 permissions.setCharAt(6, hasModeFlag(mode, S_IXGRP) ? 's' : 'S'); in getFormattedPermissions() 143 permissions.setCharAt(9, hasModeFlag(mode, S_IXOTH) ? 't' : 'T'); in getFormattedPermissions() 146 return permissions.toString(); in getFormattedPermissions()
|
/cts/common/host-side/manifest-generator/tests/src/com/android/compatibility/common/generator/ |
D | ManifestGeneratorTest.java | 51 List<String> permissions = new ArrayList<>(); in testManifest() local 52 permissions.add(PERMISSION_A); in testManifest() 53 permissions.add(PERMISSION_B); in testManifest() 69 ManifestGenerator.generate(output, PACKAGE, INSTRUMENT, permissions, activities); in testManifest()
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_NoExecutePermissionTest.cpp | 37 char permissions[10]; in isAddressExecutable() local 38 int scan = sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %9s ", &start, &end, permissions); in isAddressExecutable() 40 retval = (permissions[2] == 'x'); in isAddressExecutable()
|
/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/ |
D | ManifestGenerator.java | 41 List<String> permissions = new ArrayList<>(); in main() local 55 permissions.add(args[++i]); in main() 72 generate(out, pkgName, instrumentName, permissions, activities); in main() 87 List<String> permissions, List<String> activities) throws Exception { in generate() argument 99 for (String permission : permissions) { in generate()
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
D | PermissionActivity.java | 69 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult() argument 72 permissions.length != 1 || in onRequestPermissionsResult() 73 !permissions[0].equals(mPermission)) { in onRequestPermissionsResult()
|
/cts/tests/tests/permission/ |
D | README | 12 See the License for the specific language governing permissions and 15 In the permissions test cases, we just test the negative cases. These tests are to test the behavio…
|
/cts/suite/cts/deviceTests/opengl/assets/fragment/ |
D | basic | 11 * or implied. See the License for the specific language governing permissions and limitations under
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | T_invoke_super_16.d | 12 ; See the License for the specific language governing permissions and
|
/cts/suite/cts/deviceTests/opengl/ |
D | README | 10 or implied. See the License for the specific language governing permissions and limitations under
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/d/ |
D | T_invoke_interface_18.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
D | T_invoke_virtual_16.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/ |
D | TestAbstractClass.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/d/ |
D | T_invoke_interface_range_18.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/ |
D | T_invoke_virtual_range_16.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/ |
D | T_a1_1.d | 12 ; See the License for the specific language governing permissions and
|
/cts/suite/cts/deviceTests/opengl/assets/vertex/ |
D | blur | 11 * or implied. See the License for the specific language governing permissions and limitations under
|
D | basic | 11 * or implied. See the License for the specific language governing permissions and limitations under
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
D | T_invoke_super_range_16.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/ |
D | T_invoke_static_19.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_void/d/ |
D | T_return_void_7.d | 12 ; See the License for the specific language governing permissions and
|
D | T_return_void_5.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_long/d/ |
D | T_sub_long_1.d | 12 ; See the License for the specific language governing permissions and
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/int_to_char/d/ |
D | T_int_to_char_5.d | 12 ; See the License for the specific language governing permissions and
|