platform_system_security/keystore
Janis Danisevskis 8c4c1d6efb Fix memory leak in keystore
The operation device map needs to be cleand up on finish regardless of
whether the operations succeeds of fails. The operation lifecycle ends
in any case.

Bug: 141317862
Test: Generate key and perform repeated operations.
      Watch memory consumptoin not raise with using:
      adb shell dumpsys meminfo keystore

Change-Id: I3a25aa67f121832640848a38398c523e20a2c6df
2019-10-04 11:01:54 -07:00
..
binder/android/security Changed uid output parameter from an int array to a list of strings. 2018-12-20 19:00:05 +00:00
include/keystore New APIs for a keystore client to list and get keys 2019-09-25 09:32:55 -07:00
tests Use libcrypto_static instead of libcrypto 2019-09-18 11:12:36 -07:00
Android.bp Remove libhwbinder/libhidltransport deps 2019-09-05 14:18:17 -07:00
auth_token_table.cpp Multithreaded Keystore 2018-10-31 14:31:26 -07:00
auth_token_table.h Multithreaded Keystore 2018-10-31 14:31:26 -07:00
blob.cpp Merge "Replace custom BoringSSL scopers with bssl::UniquePtr." 2019-08-19 16:54:11 -07:00
blob.h Fix handling of user password changes. 2019-10-01 17:43:43 -06:00
confirmation_manager.cpp Multithreaded Keystore 2018-10-31 14:31:26 -07:00
confirmation_manager.h Implement rate limiting on a per app basis for confirmationui 2018-03-14 13:36:56 -07:00
confirmationui_rate_limiting.h Implement rate limiting on a per app basis for confirmationui 2018-03-14 13:36:56 -07:00
defaults.h Port to binderized keymaster HAL 2017-01-23 08:30:49 -07:00
grant_store.cpp Multithreaded Keystore 2018-10-31 14:31:26 -07:00
grant_store.h Fix/suppress system/security google-explicit-constructor warnings 2019-01-04 13:34:55 -08:00
key_config.proto Adding DropBox logging support for keystore functionality 2018-04-25 21:46:08 +00:00
key_proto_handler.cpp Manage DropBoxManager using sp<> 2018-10-10 14:28:10 -07:00
key_proto_handler.h Adding DropBox logging support for keystore functionality 2018-04-25 21:46:08 +00:00
key_store_service.cpp Fix memory leak in keystore 2019-10-04 11:01:54 -07:00
key_store_service.h Fix memory leak in keystore 2019-09-03 20:34:08 +00:00
KeyAttestationApplicationId.cpp KeyStore: Limit the Attestation Application ID 2018-08-16 18:53:15 +01:00
KeyAttestationPackageInfo.cpp Fix version code handling in attestation records 2017-12-28 22:14:52 +00:00
keyblob_utils.cpp Modernize codebase by replacing NULL with nullptr 2018-07-30 01:40:01 -07:00
keymaster_enforcement.cpp Multithreaded Keystore 2018-10-31 14:31:26 -07:00
keymaster_enforcement.h Multithreaded Keystore 2018-10-31 14:31:26 -07:00
keymaster_worker.cpp Fix memory leak in keystore 2019-09-03 20:34:08 +00:00
keymaster_worker.h Fix grants get lost on key upgrade 2019-05-03 16:19:06 -07:00
KeymasterArguments.cpp Multithreaded Keystore 2018-10-31 14:31:26 -07:00
KeyStore.cpp Replace custom BoringSSL scopers with bssl::UniquePtr. 2019-08-08 13:13:54 -04:00
KeyStore.h Fix memory leak in keystore 2019-09-03 20:34:08 +00:00
keystore.rc Make keystore a core service 2019-08-26 11:09:28 -07:00
keystore_aidl_hidl_marshalling_utils.cpp Replace cast operator with getValue() for key store return codes 2018-11-21 13:46:43 -08:00
keystore_aidl_hidl_marshalling_utils.h Multi-threaded keystore 2018-11-14 14:01:45 -08:00
keystore_attestation_id.cpp Deprecate <cutils/log.h> and <utils/Log.h> 2018-09-19 13:38:34 +08:00
keystore_attestation_id.h Fix/suppress system/security google-explicit-constructor warnings 2019-01-04 13:34:55 -08:00
keystore_cli.cpp Multi-threaded keystore 2018-11-14 14:01:45 -08:00
keystore_cli_v2.cpp Changed uid output parameter from an int array to a list of strings. 2018-12-20 19:00:05 +00:00
keystore_client.proto Add missing proto syntax declaration 2019-02-06 16:44:24 -05:00
keystore_client_impl.cpp New APIs for a keystore client to list and get keys 2019-09-25 09:32:55 -07:00
keystore_get.cpp Multi-threaded keystore 2018-11-14 14:01:45 -08:00
keystore_get_wifi_hidl.cpp Modernize codebase by replacing NULL with nullptr 2018-07-30 01:40:01 -07:00
keystore_keymaster_enforcement.h Modernize codebase by replacing NULL with nullptr 2018-07-30 01:40:01 -07:00
keystore_main.cpp Merge "Check correct err variable on wifi keystore HAL" 2019-08-22 15:04:05 -07:00
keystore_utils.cpp Fix grants get lost on key upgrade 2019-05-03 16:19:06 -07:00
keystore_utils.h Replace custom BoringSSL scopers with bssl::UniquePtr. 2019-08-08 13:13:54 -04:00
KeystoreResponse.cpp Multi-threaded keystore 2018-11-14 14:01:45 -08:00
legacy_keymaster_device_wrapper.cpp Fix/suppress system/security google-explicit-constructor warnings 2019-01-04 13:34:55 -08:00
legacy_keymaster_device_wrapper.h Fix/suppress system/security google-explicit-constructor warnings 2019-01-04 13:34:55 -08:00
operation.cpp Reducing amount of files created in dropbox for keystore 2019-01-15 18:47:42 +00:00
operation.h Reducing amount of files created in dropbox for keystore 2019-01-15 18:47:42 +00:00
operation_config.proto Reducing amount of files created in dropbox for keystore 2019-01-15 18:47:42 +00:00
operation_proto_handler.cpp Adding thread safety to proto uploader 2019-03-25 17:00:29 -07:00
operation_proto_handler.h Adding thread safety to proto uploader 2019-03-25 17:00:29 -07:00
operation_struct.h Multithreaded Keystore 2018-10-31 14:31:26 -07:00
OperationResult.cpp Replace cast operator with getValue() for key store return codes 2018-11-21 13:46:43 -08:00
permissions.cpp Allow system and root to access fsverity keys 2019-09-05 16:21:21 -07:00
permissions.h keystore: use getCallingSid 2019-01-10 16:20:20 -08:00
Signature.cpp KeyStore: Limit the Attestation Application ID 2018-08-16 18:53:15 +01:00
test-keystore Revive test script for keystore 2015-09-24 21:10:20 +03:00
user_state.cpp Fix handling of user password changes. 2019-10-01 17:43:43 -06:00
user_state.h Fix handling of user password changes. 2019-10-01 17:43:43 -06:00