Home
last modified time | relevance | path

Searched refs:OperationSlotManager (Results 1 – 2 of 2) sorted by relevance

/system/security/keystore2/src/km_compat/
Dkm_compat.h54 class OperationSlotManager; variable
59 friend OperationSlotManager; variable
62 std::shared_ptr<OperationSlotManager> mOperationSlots;
66 OperationSlot(std::shared_ptr<OperationSlotManager>,
78 class OperationSlotManager {
87 claimSlot(std::shared_ptr<OperationSlotManager> operationSlots);
88 static OperationSlot claimReservedSlot(std::shared_ptr<OperationSlotManager> operationSlots);
95 std::shared_ptr<OperationSlotManager> mOperationSlots;
Dkm_compat.cpp401 void OperationSlotManager::setNumFreeSlots(uint8_t numFreeSlots) { in setNumFreeSlots()
407 OperationSlotManager::claimSlot(std::shared_ptr<OperationSlotManager> operationSlots) { in claimSlot()
417 OperationSlotManager::claimReservedSlot(std::shared_ptr<OperationSlotManager> operationSlots) { in claimReservedSlot()
422 OperationSlot::OperationSlot(std::shared_ptr<OperationSlotManager> slots, in OperationSlot()
426 void OperationSlotManager::freeSlot() { in freeSlot()
702 slot = OperationSlotManager::claimReservedSlot(mOperationSlots); in beginInternal()
704 if (auto opt_slot = OperationSlotManager::claimSlot(mOperationSlots)) { in beginInternal()
1482 : mDevice(device), mOperationSlots(std::make_shared<OperationSlotManager>()), in KeyMintDevice()