/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionState.java | 35 private boolean mGranted; field in PermissionState 47 mGranted = other.mGranted; in PermissionState() 68 return mGranted; in isGranted() 74 if (mGranted) { in grant() 77 mGranted = true; in grant() 85 if (!mGranted) { in revoke() 88 mGranted = false; in revoke() 115 return !mGranted && mFlags == 0; in isDefault()
|
D | LegacyPermissionState.java | 260 private final boolean mGranted; field in LegacyPermissionState.PermissionState 275 mGranted = granted; in PermissionState() 282 mGranted = other.mGranted; in PermissionState() 312 return mGranted; in isGranted() 335 && mGranted == that.mGranted in equals() 342 return Objects.hash(mName, mRuntime, mGranted, mFlags); in hashCode()
|
D | PermissionMigrationHelper.java | 89 private final boolean mGranted; field in PermissionMigrationHelper.LegacyPermissionState 93 mGranted = granted; in LegacyPermissionState() 101 return mGranted; in isGranted()
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | FakePermissionEnforcer.java | 36 private Set<String> mGranted; field in FakePermissionEnforcer 39 mGranted = new HashSet(); in FakePermissionEnforcer() 43 mGranted.add(permission); in grant() 47 mGranted.remove(permission); in revoke() 51 mGranted.clear(); in revokeAll() 55 return mGranted.contains(permission); in granted()
|
/frameworks/base/services/core/java/com/android/server/selinux/ |
D | SelinuxAuditLogBuilder.java | 94 mAuditLog.mGranted = true; in build() 97 mAuditLog.mGranted = false; in build() 164 boolean mGranted = false; field in SelinuxAuditLogBuilder.SelinuxAuditLog 175 mGranted = false; in reset()
|
D | SelinuxAuditLogsCollector.java | 138 auditLog.mGranted, in writeAuditLogs()
|
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/ |
D | AppWidget.java | 138 final boolean mGranted; field in AppWidget.SetBindAppWidgetPermissionCommand 144 mGranted = granted; in SetBindAppWidgetPermissionCommand() 153 appWidgetService.setBindAppWidgetPermission(mPackageName, mUserId, mGranted); in run()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionManager.java | 2057 private final boolean mGranted; field in PermissionManager.PermissionState 2063 mGranted = granted; in PermissionState() 2072 return mGranted; in isGranted() 2093 parcel.writeBoolean(mGranted); in writeToParcel() 2118 return mGranted == that.mGranted && mFlags == that.mFlags; in equals() 2124 return Objects.hash(mGranted, mFlags); in hashCode() 2131 + "mGranted=" + mGranted in toString()
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsBuilderTest.java | 278 assertThat(auditLog.mGranted).isEqualTo(granted); in assertAuditLog()
|