Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/security/
DAttestationVerificationPeerDeviceVerifier.java145 LocalDate systemDate, LocalDate localPatchDate) throws Exception { in AttestationVerificationPeerDeviceVerifier() argument
153 mTestLocalPatchDate = localPatchDate; in AttestationVerificationPeerDeviceVerifier()
533 LocalDate localPatchDate; in isValidPatchLevel() local
536 localPatchDate = mTestLocalPatchDate; in isValidPatchLevel()
538 localPatchDate = LocalDate.parse(Build.VERSION.SECURITY_PATCH); in isValidPatchLevel()
547 if (ChronoUnit.MONTHS.between(localPatchDate, currentDate) > MAX_PATCH_AGE_MONTHS) { in isValidPatchLevel()
564 if (remotePatchDate.compareTo(localPatchDate) > 0) { in isValidPatchLevel()
566 localPatchDate, remotePatchDate) <= MAX_PATCH_AGE_MONTHS; in isValidPatchLevel()
567 } else if (remotePatchDate.compareTo(localPatchDate) < 0) { in isValidPatchLevel()
569 remotePatchDate, localPatchDate) <= MAX_PATCH_AGE_MONTHS; in isValidPatchLevel()