/test/vts-testcase/kernel/ltp/shell_environment/definitions/ |
D | path_permission.py | 70 (path, permission, result) 71 for path, permission, result in zip(self._paths, self._permissions, 73 if str(permission) != result 84 commands = ["chmod {} {}".format(permission, path) 85 for (path, permission, result) in self._failed_paths] 91 for (path, permission, original) in self._failed_paths]
|
/test/vts/tools/vts-core-tradefed/tests/src/com/android/compatibility/tradefed/util/ |
D | TargetFileUtilsTest.java | 45 String permission = "" + x + y + z; in testHasPermission() local 50 assertTrue(TargetFileUtils.hasPermission(FilePermission.READ, permission)); in testHasPermission() 56 assertTrue(TargetFileUtils.hasPermission(FilePermission.WRITE, permission)); in testHasPermission() 63 TargetFileUtils.hasPermission(FilePermission.EXECUTE, permission)); in testHasPermission() 70 private boolean hasPermission(int bit, FilePermission permission) { in hasPermission() argument 71 return (bit & permission.getPermissionNum()) != 0; in hasPermission()
|
/test/vts/utils/python/file/ |
D | target_file_utils.py | 150 def _HasPermission(permission_bits, groupIndex, permission): argument 183 if perm & permission == 0: 309 permission = GetPermission(path, shell) 311 check_permission(permission), 312 "%s: File has invalid permissions (%s)" % (path, permission))
|
/test/vts/testcases/host/kernel_proc_file_api_test/ |
D | vts_kernel_proc_file_api_test.py | 224 permission = self.dut.GetPermission(filepath) 225 self.assertTrue(target_file_utils.IsReadOnly(permission)) 243 permission = self.dut.GetPermission(filepath) 244 self.assertTrue(target_file_utils.IsReadWrite(permission)) 286 permission = self.dut.GetPermission(filepath) 288 self.assertTrue(test_object.get_permission_checker()(permission), 290 permission))
|
D | target_file_utils.py | 22 def _HasPermission(permission_bits, groupIndex, permission): argument 55 if perm & permission == 0:
|
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/util/ |
D | TargetFileUtils.java | 55 public static boolean hasPermission(FilePermission permission, String permissionBits) { in hasPermission() argument 57 if (hasPermission(permissionBits, i, permission)) { in hasPermission() 93 String permissionBits, int groupIndex, FilePermission permission) { in hasPermission() argument 116 if ((perm & permission.getPermissionNum()) == 0) { in hasPermission()
|
/test/vts-testcase/security/system_property/ |
D | vts_treble_sys_prop_test.py | 34 def HasPermission(permission_bits, groupIndex, permission): argument 67 if perm & permission == 0: 437 permission = self.GetPermission(path) 438 self.assertTrue(check_permission(permission), 439 "%s: File has invalid permissions (%s)" % (path, permission))
|
/test/mlts/benchmark/src/com/android/nn/benchmark/util/ |
D | TestExternalStorageActivity.java | 42 if (activity.checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) in testWriteExternalStorage() 48 new String[]{android.Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1); in testWriteExternalStorage()
|
/test/mts/tools/build/ |
D | config.mk | 34 permission \
|
/test/mlts/models/assets/asr_float/ |
D | LICENSE | 26 permission to use material in ways otherwise restricted by 39 licenses, a licensor grants the public permission to use the 41 the licensor's permission is not necessary for any reason--for 75 permission under the Copyright and Similar Rights held by the 116 process that requires permission under the Licensed Rights, such 183 may be construed as permission to assert or imply that You 357 be made without permission under this Public License.
|
/test/vti/test_serving/gae/frontend/ |
D | NOTICE | 12 The above copyright notice and this permission notice shall be included in
|
/test/mlts/benchmark/results/ |
D | LICENSE | 10 The above copyright notice and this permission notice shall be included in all copies or substantia…
|
/test/vts/hals/light/bullhead/ |
D | NOTICE | 151 6. Trademarks. This License does not grant permission to use the trade
|
/test/mlts/benchmark/ |
D | LICENSE | 138 6. Trademarks. This License does not grant permission to use the trade
|
/test/mlts/models/ |
D | LICENSE | 138 6. Trademarks. This License does not grant permission to use the trade
|