Home
last modified time | relevance | path

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

/aosp12/frameworks/base/keystore/java/android/security/keystore/
H A DKeyProtection.java262 int maxUsageCount) { in KeyProtection() argument
285 mMaxUsageCount = maxUsageCount; in KeyProtection()
1091 public Builder setMaxUsageCount(int maxUsageCount) { in setMaxUsageCount() argument
1092 if (maxUsageCount == KeyProperties.UNRESTRICTED_USAGE_COUNT || maxUsageCount > 0) { in setMaxUsageCount()
1093 mMaxUsageCount = maxUsageCount; in setMaxUsageCount()
H A DKeyGenParameterSpec.java364 int maxUsageCount, in KeyGenParameterSpec()
423 mMaxUsageCount = maxUsageCount; in KeyGenParameterSpec()
1697 public Builder setMaxUsageCount(int maxUsageCount) { in setMaxUsageCount() argument
1698 if (maxUsageCount == KeyProperties.UNRESTRICTED_USAGE_COUNT || maxUsageCount > 0) { in setMaxUsageCount()
1699 mMaxUsageCount = maxUsageCount; in setMaxUsageCount()
H A DParcelableKeyGenParameterSpec.java173 final int maxUsageCount = in.readInt(); in ParcelableKeyGenParameterSpec() local
210 maxUsageCount, in ParcelableKeyGenParameterSpec()