Home
last modified time | relevance | path

Searched refs:ConfirmationResponseCode (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore/tests/
Dconfirmationui_rate_limiting_test.cpp85 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 …]
Dconfirmationui_invocation_test.cpp31 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/
Dconfirmation_manager.cpp62 *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 …]
Dconfirmationui_rate_limiting.h30 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()
Dconfirmation_manager.h38 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; variable
80 android::hardware::Return<void> result(ConfirmationResponseCode responseCode,
87 void finalizeTransaction(ConfirmationResponseCode responseCode,
Dkeystore_cli_v2.cpp48 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()
Dkey_store_service.cpp65 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; typedef