Home
last modified time | relevance | path

Searched refs:permission (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DTargetFileUtilsTest.java50 String permission = "" + x + y + z; in testHasPermission() local
55 assertTrue(TargetFileUtils.hasPermission(FilePermission.READ, permission)); in testHasPermission()
61 assertTrue(TargetFileUtils.hasPermission(FilePermission.WRITE, permission)); in testHasPermission()
68 TargetFileUtils.hasPermission(FilePermission.EXECUTE, permission)); in testHasPermission()
75 private boolean hasPermission(int bit, FilePermission permission) { in hasPermission() argument
76 return (bit & permission.getPermissionNum()) != 0; in hasPermission()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSystemServiceCheckTest.kt101 fun `Check SystemService -- no permission annotation`() { in Check SystemService -- no permission annotation()
129 fun `Check SystemService -- can miss a permission with anyOf`() { in Check SystemService -- can miss a permission with anyOf()
163 fun `Check SystemService such that at least one permission must be defined with anyOf`() { in Check SystemService such that at least one permission must be defined with anyOf()
196 fun `Check SystemService -- missing one permission with allOf`() { in Check SystemService -- missing one permission with allOf()
232 fun `Check SystemService -- must be system permission, not normal`() { in Check SystemService -- must be system permission, not normal()
DNormalizeOutputAnnotationTest.kt25 fun `Normalize nested permission annotations (java)`() { in Normalize nested permission annotations (java)()
DExtractAnnotationsTest.kt284 fun `Extract permission annotations`() { in Extract permission annotations()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DTargetFileUtils.java55 public static boolean hasPermission(FilePermission permission, String permissionBits) { in hasPermission() argument
57 if (hasPermission(permissionBits, i, permission)) { in hasPermission()
95 String permissionBits, int groupIndex, FilePermission permission) { in hasPermission() argument
118 if ((perm & permission.getPermissionNum()) == 0) { in hasPermission()
/tools/test/mobly_extensions/tools/
Ddevice_flags_test.py43 sample_flag.permission = aconfig_pb2.flag_permission.READ_WRITE
54 sample_flag.permission = aconfig_pb2.flag_permission.READ_ONLY
65 sample_flag.permission = aconfig_pb2.flag_permission.READ_WRITE
Ddevice_flags.py73 if aconfig_flag.permission == _READ_ONLY:
/tools/metalava/metalava/src/test/resources/
Dsource-model-provider-baseline.txt41 Extract permission annotations[turbine]
108 Normalize nested permission annotations (java)[turbine]
140 Check SystemService -- can miss a permission with anyOf[turbine]
142 Check SystemService -- missing one permission with allOf[turbine]
143 Check SystemService -- must be system permission, not normal[turbine]
144 Check SystemService -- no permission annotation[turbine]
145 Check SystemService such that at least one permission must be defined with anyOf[turbine]
/tools/test/openhst/docs/
Dcontributing.md10 contribution; this simply gives us permission to use and redistribute your
/tools/trebuchet/
DCONTRIBUTING.md10 this simply gives us permission to use and redistribute your contributions as
/tools/test/connectivity/acts_tests/tests/google/bt/car_bt/
DBtCarPbapTest.py56 for permission in permissions_list:
59 permission))
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt160 --set-permission Sets whether apps signed with this previous signing
184 --set-shared-uid false --set-permission false --set-rollback false \
Dhelp_rotate.txt166 --set-permission Sets whether apps signed with this previous signing
215 --set-installed-data true --set-shared-uid true --set-permission true --set-rollback false \
/tools/external/fat32lib/
DNOTICE25 … the library, and (2) we offer you this license, which gives you legal permission to copy, distrib…
39permission to use a particular library in non-free programs enables a greater number of people to …
114 …icense, since you have not signed it. However, nothing else grants you permission to modify or dis…
132 …conditions are incompatible with these, write to the author to ask for permission. For software wh…
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_test_utils.py1807 for permission in LOCATION_PERMISSIONS:
1809 "%s permission:%s on %s" % (action, permission, TEST_PACKAGE_NAME))
1810 ad.adb.shell("pm %s %s %s" % (action, TEST_PACKAGE_NAME, permission))
1826 for permission in permissions:
1827 ad.log.debug("Grant %s on %s" % (permission, package))
1828 ad.adb.shell("pm grant %s %s" % (package, permission))
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto17 // this software without specific prior written permission.
/tools/metalava/metalava-model-text/src/test/resources/com/android/tools/metalava/model/text/core/api/
D1.12.0-beta01.txt836 …method @RequiresPermission(android.Manifest.permission.POST_NOTIFICATIONS) public void notify(int,…
837 …method @RequiresPermission(android.Manifest.permission.POST_NOTIFICATIONS) public void notify(Stri…
838 …method @RequiresPermission(android.Manifest.permission.POST_NOTIFICATIONS) public void notify(java…
1627 …method @Deprecated @RequiresPermission(android.Manifest.permission.USE_FINGERPRINT) public void au…
1629 …method @Deprecated @RequiresPermission(android.Manifest.permission.USE_FINGERPRINT) public boolean…
1630 …method @Deprecated @RequiresPermission(android.Manifest.permission.USE_FINGERPRINT) public boolean…
1731 … @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.p…
1736 …android.os.Build.VERSION_CODES.N) @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCA…
1737 …android.os.Build.VERSION_CODES.N) @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCA…
1738 …method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public static boolean…
[all …]
/tools/security/sanitizer-status/
DNOTICE151 6. Trademarks. This License does not grant permission to use the trade
/tools/apksig/
DLICENSE151 6. Trademarks. This License does not grant permission to use the trade
/tools/netsim/
DLICENSE139 6. Trademarks. This License does not grant permission to use the trade
/tools/test/openhst/
DLICENSE139 6. Trademarks. This License does not grant permission to use the trade
/tools/test/mobly_snippets/gft/
DLICENSE139 6. Trademarks. This License does not grant permission to use the trade
/tools/acloud/
DLICENSE139 6. Trademarks. This License does not grant permission to use the trade
/tools/test/connectivity/
DLICENSE139 6. Trademarks. This License does not grant permission to use the trade
/tools/treble/
DLICENSE139 6. Trademarks. This License does not grant permission to use the trade

12