OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:declaredPermission
(Results
1 - 3
of
3
) sorted by null
/cts/tests/tests/permission2/src/android/permission2/cts/
PermissionPolicyTest.java
120
PermissionInfo
declaredPermission
= declaredPermissionsMap.get(expectedPermissionName);
121
if (
declaredPermission
== null) {
132
final int declaredProtection =
declaredPermission
.protectionLevel
143
final int declaredFlags = (
declaredPermission
.flags & ~FLAG_INSTALLED);
156
final int declaredProtectionFlags =
declaredPermission
.getProtectionFlags();
167
if ((
declaredPermission
.protectionLevel & PermissionInfo.PROTECTION_DANGEROUS) != 0) {
168
if (!Objects.equals(expectedPermission.group,
declaredPermission
.group)) {
172
+
declaredPermission
.group);
175
if (
declaredPermission
.group != null
176
&& !declaredGroupsSet.contains(
declaredPermission
.group))
[
all
...]
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/
PermissionPolicyTest25.java
42
for (PermissionInfo
declaredPermission
: platformPackage.permissions) {
44
.getPermissionInfo(
declaredPermission
.name, 0);
/cts/tests/tests/content/src/android/content/pm/cts/
PackageManagerTest.java
670
PermissionInfo
declaredPermission
= (PermissionInfo) findPackageItemOrFail(
672
assertEquals("Call abroad",
declaredPermission
.loadLabel(mPackageManager));
673
assertEquals(PERMISSIONGROUP_NAME,
declaredPermission
.group);
674
assertEquals(PermissionInfo.PROTECTION_NORMAL,
declaredPermission
.protectionLevel);
[
all
...]
Completed in 1387 milliseconds