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()
121 *aidl_return = static_cast<int32_t>(ConfirmationResponseCode::OK); in cancelConfirmationPrompt()
148 void ConfirmationManager::finalizeTransaction(ConfirmationResponseCode responseCode, in finalizeTransaction()
176 Return<void> ConfirmationManager::result(ConfirmationResponseCode responseCode, in result()
[all …]
Dconfirmationui_rate_limiting.h30 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; variable
106 void processResult(ConfirmationResponseCode rc) { in processResult()
111 case ConfirmationResponseCode::OK: in processResult()
115 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,
91 void finalizeTransaction(ConfirmationResponseCode responseCode,
Dkeystore_cli_v2.cpp48 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; typedef
487 public std::promise<std::tuple<ConfirmationResponseCode, std::vector<uint8_t>>> {
494 this->set_value({static_cast<ConfirmationResponseCode>(result), dataThatWasConfirmed}); in onConfirmationPromptCompleted()
554 ConfirmationResponseCode responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in Confirmation()
555 if (responseCode != ConfirmationResponseCode::OK) { in Confirmation()
572 responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in Confirmation()
573 if (responseCode == ConfirmationResponseCode::Ignored) { in Confirmation()
575 } else if (responseCode != ConfirmationResponseCode::OK) { in Confirmation()
Dkey_store_service.cpp68 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; typedef