Home
last modified time | relevance | path

Searched refs:mGranted (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/apex/permission/service/java/com/android/permission/persistence/
DRuntimePermissionsState.java155 private final boolean mGranted; field in RuntimePermissionsState.PermissionState
171 mGranted = granted; in PermissionState()
191 return mGranted; in isGranted()
212 return mGranted == that.mGranted in equals()
219 return Objects.hash(mName, mGranted, mFlags); in hashCode()
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java138 final boolean mGranted; field in AppWidget.SetBindAppWidgetPermissionCommand
144 mGranted = granted; in SetBindAppWidgetPermissionCommand()
153 appWidgetService.setBindAppWidgetPermission(mPackageName, mUserId, mGranted); in run()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java812 return userState.mGranted; in isGranted()
832 userState.mGranted = true; in grant()
850 userState.mGranted = false; in revoke()
933 private boolean mGranted; field in PermissionsState.PermissionState
942 mGranted = other.mGranted; in PermissionState()
947 return !mGranted && mFlags == 0; in isDefault()
955 return mGranted; in isGranted()