Limit maximum number of concurrent keystore operations.

If keystore is allowed to consume all 16 of the keymaster operation
table slots, cryptfs may not be able to use keymaster to protect the
disk encryption key during a password change.  This CL prevents keystore
from allowing more than 15 concurrent keystore operations, leaving one
available for cyptfs.

Bug: 25312003
Change-Id: I3bcae59c6a79d5f7d2e2f432251bb7b818f57581
2 files changed
tree: ba7399a7e3fc256b9757867e1dc08bb7909fda67
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/