Home
last modified time | relevance | path

Searched refs:maxAge (Results 1 – 12 of 12) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DDefaultPolicyConformanceCheckTest.kt47 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testIfDescriptionMissing()
51 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testIfDescriptionMissing()
64 target(FOOBAR_DTD, maxAge = Duration.ZERO) { in testIfRetentionRulesElided()
70 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testIfRetentionRulesElided()
87 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testWhenPoliciesConform()
91 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testWhenPoliciesConform()
DChronicleApiPolicyBuilderTest.kt59 target(dataTypeDescriptor = FOOBAR_DTD, maxAge = Duration.ofMinutes(15)) { in <lambda>()
64 target(dataTypeDescriptor = SIMPLE_DATA_DTD, maxAge = Duration.ofDays(2)) { in <lambda>()
79 target(dataTypeDescriptor = FOOBAR_DTD, maxAge = Duration.ofMinutes(15)) { in testPolicyBuilder()
83 target(dataTypeDescriptor = SIMPLE_DATA_DTD, maxAge = Duration.ofDays(2)) { in testPolicyBuilder()
DChronicleApiPolicyTargetBuilderTest.kt48 val FOOBAR_TARGET = target(dataTypeDescriptor = FOOBAR_DTD, maxAge = Duration.ofMinutes(15)) { in <lambda>()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DAuctionEncryptionKeyParser.java88 long maxAge = getMaxAgeInSeconds(headers); in getDbEncryptionKeys() local
89 if (maxAge <= 0) { in getDbEncryptionKeys()
90 maxAge = mFlags.getFledgeAuctionServerEncryptionKeyMaxAgeSeconds(); in getDbEncryptionKeys()
107 keyBuilder.setExpiryTtlSeconds(maxAge); in getDbEncryptionKeys()
188 long maxAge = 0; in getMaxAgeInSeconds() local
193 maxAge = Long.parseLong(token.substring(8)); in getMaxAgeInSeconds()
200 if (maxAge == 0) { in getMaxAgeInSeconds()
204 return maxAge - cachedAge; in getMaxAgeInSeconds()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcher.java101 long maxAge = 0; in getMaxAgeInSeconds() local
106 maxAge = Long.parseLong(token.substring(8)); in getMaxAgeInSeconds()
113 if (maxAge == 0) { in getMaxAgeInSeconds()
117 return maxAge - cachedAge; in getMaxAgeInSeconds()
125 long maxAge = getMaxAgeInSeconds(headers); in parseResponse() local
126 if (maxAge <= 0) { in parseResponse()
132 long expiry = eventTime + TimeUnit.SECONDS.toMillis(maxAge); in parseResponse()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DParentalControlsTest.java78 int maxAge = 20; in testRatingDependentSelect() local
80 for (int age = minAge; age <= maxAge; age++) { in testRatingDependentSelect()
93 assertRatingViewIsChecked(minAge, maxAge, blockAge, true); in testRatingDependentSelect()
96 assertRatingViewIsChecked(minAge, maxAge, unBlockAge, false); in testRatingDependentSelect()
103 int minAge, int maxAge, int selectedAge, boolean expectedValue) { in assertRatingViewIsChecked() argument
104 for (int age = minAge; age <= maxAge; age++) { in assertRatingViewIsChecked()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingLevelPolicy.java86 int maxAge = 0; in getMaxAge() local
88 if (maxAge < rating.getAgeHint()) { in getMaxAge()
89 maxAge = rating.getAgeHint(); in getMaxAge()
92 return maxAge; in getMaxAge()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt103 maxAge: Duration, in target()
106 PolicyTargetBuilder(dataTypeDescriptor, requireNotNull(dataTypeDescriptor.name), maxAge)
146 maxAge: Duration, in target()
149 return PolicyTargetBuilder(dataTypeDescriptor, requireNotNull(dataTypeDescriptor.name), maxAge) in target()
179 var maxAge: Duration, variable in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyTargetBuilder
224 maxAgeMs = maxAge.toMillis(), in build()
DFlavoredPoliciesBuilder.kt61 maxAge: Duration, in <lambda>()
64 return basePolicyBuilder.target(schema, maxAge, block) in <lambda>()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DFederatedComputeEncryptionKeyManager.java269 long maxAge = 0; in getTTL() local
275 maxAge = in getTTL()
288 if (maxAge == 0) { in getTTL()
292 return maxAge - cachedAge; in getTTL()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java2914 long maxAge = SCAN_RESULT_MAXIMUM_AGE_MS; in updateScanDetailCacheFromWifiInfo() local
2916 if (previousSeen > 0 && age > 0 && age < maxAge / 2) { in updateScanDetailCacheFromWifiInfo()
2918 double alpha = 0.5 - (double) age / (double) maxAge; in updateScanDetailCacheFromWifiInfo()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...