Home
last modified time | relevance | path

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

12345678910>>...80

/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/
DMyActivity.java31 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()
DUsePermissionTest.java103 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/
DFileUtils.java114 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/
DManifestGeneratorTest.java51 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/
Dandroid_os_cts_NoExecutePermissionTest.cpp37 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/
DManifestGenerator.java41 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/
DPermissionActivity.java69 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/
DREADME12 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/
Dbasic11 * 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/
DT_invoke_super_16.d12 ; See the License for the specific language governing permissions and
/cts/suite/cts/deviceTests/opengl/
DREADME10 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/
DT_invoke_interface_18.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DT_invoke_virtual_16.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/
DTestAbstractClass.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/d/
DT_invoke_interface_range_18.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DT_invoke_virtual_range_16.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/
DT_a1_1.d12 ; See the License for the specific language governing permissions and
/cts/suite/cts/deviceTests/opengl/assets/vertex/
Dblur11 * or implied. See the License for the specific language governing permissions and limitations under
Dbasic11 * 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/
DT_invoke_super_range_16.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
DT_invoke_static_19.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_void/d/
DT_return_void_7.d12 ; See the License for the specific language governing permissions and
DT_return_void_5.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_long/d/
DT_sub_long_1.d12 ; See the License for the specific language governing permissions and
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/int_to_char/d/
DT_int_to_char_5.d12 ; See the License for the specific language governing permissions and

12345678910>>...80