NIAP: Make sure that call getOrCreateSecretKey once at a time

Since the getOrGenerate semantic on keystore is not thread safe, need to
synchronize it to make sure that call getOrCreateSecretKey once at a
time.

Bug: 160630406
Test: atest BluetoothInstrumentationTests
Tag: #feature
Change-Id: I182eff28666b7fae76c7207cc430bb132a253a4c
1 file changed