Home
last modified time | relevance | path

Searched refs:responseCode (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore/
Dconfirmation_manager.cpp87 ConfirmationResponseCode responseCode; in presentConfirmationPrompt() local
88 responseCode = confirmationUI->promptUserConfirmation(sp<IConfirmationResultCallback>(this), in presentConfirmationPrompt()
91 if (responseCode != ConfirmationResponseCode::OK) { in presentConfirmationPrompt()
92 ALOGW("Unexpecxted responseCode %d from promptUserConfirmation\n", responseCode); in presentConfirmationPrompt()
93 *aidl_return = static_cast<int32_t>(responseCode); in presentConfirmationPrompt()
138 void ConfirmationManager::finalizeTransaction(ConfirmationResponseCode responseCode, in finalizeTransaction() argument
147 mRateLimiting.processResult(responseCode); in finalizeTransaction()
168 Status status = obj->onConfirmationPromptCompleted(static_cast<int32_t>(responseCode), in finalizeTransaction()
178 Return<void> ConfirmationManager::result(ConfirmationResponseCode responseCode, in result() argument
181 finalizeTransaction(responseCode, dataThatWasConfirmed, false); in result()
Dconfirmation_manager.h80 android::hardware::Return<void> result(ConfirmationResponseCode responseCode,
87 void finalizeTransaction(ConfirmationResponseCode responseCode,
Dkeystore_cli_v2.cpp570 ConfirmationResponseCode responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in Confirmation() local
571 if (responseCode != ConfirmationResponseCode::OK) { in Confirmation()
572 printf("Presenting confirmation prompt failed with response code %d.\n", responseCode); 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()
593 responseCode); in Confirmation()
Dkey_store_service.cpp116 KeyStoreServiceReturnCode responseCode; in updateParamsForAttestation() local
118 std::tie(responseCode, factoryResetSinceIdRotation) = hadFactoryResetSinceIdRotation(); in updateParamsForAttestation()
120 if (!responseCode.isOk()) return responseCode; in updateParamsForAttestation()
/system/security/keystore/tests/
Dconfirmationui_invocation_test.cpp75 ConfirmationResponseCode responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in TEST() local
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()
/system/netd/client/
DNetdClient.cpp524 int responseCode = 0; in getNetworkForDnsInternal() local
526 if (!readResponseCode(fd, &responseCode)) { in getNetworkForDnsInternal()
531 if (responseCode != ResponseCode::DnsProxyQueryResult) { in getNetworkForDnsInternal()