Test large numbers of keys in the database

Primarily to test garbage collection, but testing on a device with lots
of keys also showed some other slow operations so test those too.

Test: keystore2_test
Bug: 319563050
Change-Id: I308451992aa7cd6fd1a0fa43f0c113228ae7845d
4 files changed