Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionGroup.java37 private final int mGranted; field in PermissionGroup
47 mGranted = granted; in PermissionGroup()
78 return mGranted; in getGranted()
121 if (mGranted != other.mGranted) { in equals()
130 return mName != null ? mName.hashCode() + mTotal + mGranted : mTotal + mGranted; in hashCode()
/packages/modules/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()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DPermission.java38 private boolean mGranted; field in Permission
52 mGranted = granted; in Permission()
128 return mGranted; in isGranted()
140 return mGranted && (!affectsAppOp() || isAppOpAllowed()) && !isReviewRequired(); in isGrantedIncludingAppOp()
151 public void setGranted(boolean mGranted) { in setGranted() argument
152 this.mGranted = mGranted; in setGranted()
392 return Objects.hash(mName, mFlags, mGranted, mAppOp, mAppOpAllowed, linkedPermissionNames); in hashCode()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DPermissionUtils.java65 public boolean mGranted; field in PermissionUtils.PermissionState
70 mGranted = granted; in PermissionState()
134 boolean isUserSensitive = ((permState.mGranted && (permState.mPermissionFlags in getPackagesWithPermissionGroup()
136 || (!permState.mGranted && (permState.mPermissionFlags in getPackagesWithPermissionGroup()
235 if (backgroundPermState != null && backgroundPermState.mGranted in getPermissionGroupGrantStatus()
248 && permState.mGranted) { in getPermissionGroupGrantStatus()
254 } else if (permState.mGranted in getPermissionGroupGrantStatus()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionControlPreference.java62 private @Nullable String mGranted; field in PermissionControlPreference
101 mGranted = granted; in PermissionControlPreference()
241 args.putString(GRANT_CATEGORY, mGranted); in onBindViewHolder()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java67 private boolean mGranted; field in KeyChainTestActivity