platform_system_security/keystore2
James Willcox 80f7be1516 Use CLOCK_BOOTTIME for keystore2 auth token received time
CLOCK_BOOTTIME is more correct because it includes time spent
while the device is suspended.

This also fixes an issue when comparing the times resulting from the
get_last_auth_time() API in the Java world, because we want to use
SystemClock.elapsedRealtime(), which uses CLOCK_BOOTTIME.

Bug: 309686873
Test: atest keystore2_client_tests
Change-Id: I89d71ccfcfe4f8b3495fede40ae26ad6fa2b0118
2023-11-08 17:13:49 +00:00
..
aaid Bindgen 0.65.1 no longer supports size_t-is-usize 2023-06-26 22:38:57 +00:00
aconfig Add flag for deprecation of Legacy Keystore 2023-10-30 03:53:36 +00:00
aidl Remove IKeystoreMaintenance#getState() 2023-10-09 23:16:05 +00:00
apc_compat [Keystore]Fix abort unsafe check in keystore fuzz 2023-08-10 15:16:43 +01:00
legacykeystore keystore2: rename the LskfBound superencryption key and type 2023-10-18 01:54:18 +00:00
selinux Add, standardise or temporarily opt out of safety comments for keystore2. 2023-07-28 10:32:08 +01:00
src Use CLOCK_BOOTTIME for keystore2 auth token received time 2023-11-08 17:13:49 +00:00
test_utils Adding tests using APPLICATION_DATA and APPLICATION_ID. 2023-10-27 19:25:09 +00:00
tests Merge "Adding tests using APPLICATION_DATA and APPLICATION_ID." into main 2023-10-31 18:22:42 +00:00
Android.bp Add utilities to deal with software keyblobs 2023-10-12 09:27:49 +01:00
android.system.keystore2-service.xml Add java_defaults to Android.bp and update default 2022-12-06 17:45:42 +00:00
keystore2.rc Replace writepid with task_profiles command for cgroup migration 2021-10-22 00:33:43 +00:00
OWNERS Adding an OWNERS file as requested in b/288143537 2023-06-30 21:42:52 +00:00
rustfmt.toml Run rustfmt and add rustfmt.toml to directory 2022-09-19 11:23:31 +00:00
TEST_MAPPING Add keystore2_client_tests to TEST_MAPPING 2023-10-23 14:50:25 -04:00