Searched refs:ConfirmationResponseCode (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore/tests/ |
D | confirmationui_rate_limiting_test.cpp | 85 rateLimiting.processResult(ConfirmationResponseCode::OK); in TEST() 100 rateLimiting.processResult(ConfirmationResponseCode::Canceled); in TEST() 109 rateLimiting.processResult(ConfirmationResponseCode::OK); in TEST() 118 rateLimiting.processResult(ConfirmationResponseCode::Canceled); in TEST() 127 rateLimiting.processResult(ConfirmationResponseCode::OK); in TEST() 136 rateLimiting.processResult(ConfirmationResponseCode::Canceled); in TEST() 145 rateLimiting.processResult(ConfirmationResponseCode::OK); in TEST() 156 rateLimiting.processResult(ConfirmationResponseCode::Canceled); in TEST() 164 rateLimiting.processResult(ConfirmationResponseCode::OK); in TEST() 169 rateLimiting.processResult(ConfirmationResponseCode::Canceled); in TEST() [all …]
|
D | confirmationui_invocation_test.cpp | 31 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; typedef 42 public std::promise<std::tuple<ConfirmationResponseCode, std::vector<uint8_t>>> { 49 this->set_value({static_cast<ConfirmationResponseCode>(result), dataThatWasConfirmed}); in onConfirmationPromptCompleted() 75 ConfirmationResponseCode responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in TEST() 76 ASSERT_EQ(responseCode, ConfirmationResponseCode::OK) in TEST() 85 responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in TEST() 86 ASSERT_EQ(responseCode, ConfirmationResponseCode::OK); in TEST() 91 ASSERT_EQ(rc, ConfirmationResponseCode::Aborted); in TEST()
|
/system/security/keystore/ |
D | confirmation_manager.cpp | 62 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::OperationPending); in presentConfirmationPrompt() 69 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::Unimplemented); in presentConfirmationPrompt() 75 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::SystemError); in presentConfirmationPrompt() 87 ConfirmationResponseCode responseCode; in presentConfirmationPrompt() 91 if (responseCode != ConfirmationResponseCode::OK) { in presentConfirmationPrompt() 102 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::OK); in presentConfirmationPrompt() 114 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::OperationPending); in cancelConfirmationPrompt() 119 finalizeTransaction(ConfirmationResponseCode::Aborted, {}, true); in cancelConfirmationPrompt() 121 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::OK); in cancelConfirmationPrompt() 138 void ConfirmationManager::finalizeTransaction(ConfirmationResponseCode responseCode, in finalizeTransaction() [all …]
|
D | confirmationui_rate_limiting.h | 30 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; variable 99 void processResult(ConfirmationResponseCode rc) { in processResult() 101 case ConfirmationResponseCode::OK: in processResult() 105 case ConfirmationResponseCode::Canceled: in processResult()
|
D | confirmation_manager.h | 38 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; variable 80 android::hardware::Return<void> result(ConfirmationResponseCode responseCode, 87 void finalizeTransaction(ConfirmationResponseCode responseCode,
|
D | keystore_cli_v2.cpp | 48 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; typedef 503 public std::promise<std::tuple<ConfirmationResponseCode, std::vector<uint8_t>>> { 510 this->set_value({static_cast<ConfirmationResponseCode>(result), dataThatWasConfirmed}); in onConfirmationPromptCompleted() 570 ConfirmationResponseCode responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in Confirmation() 571 if (responseCode != ConfirmationResponseCode::OK) { in Confirmation() 588 responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in Confirmation() 589 if (responseCode == ConfirmationResponseCode::Ignored) { in Confirmation() 591 } else if (responseCode != ConfirmationResponseCode::OK) { in Confirmation()
|
D | key_store_service.cpp | 65 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; typedef
|