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()
148 void ConfirmationManager::finalizeTransaction(ConfirmationResponseCode responseCode, in finalizeTransaction() argument
151 mRateLimiting.processResult(responseCode); in finalizeTransaction()
166 Status status = obj->onConfirmationPromptCompleted(static_cast<int32_t>(responseCode), in finalizeTransaction()
176 Return<void> ConfirmationManager::result(ConfirmationResponseCode responseCode, in result() argument
179 finalizeTransaction(responseCode, dataThatWasConfirmed); in result()
Dconfirmation_manager.h80 android::hardware::Return<void> result(ConfirmationResponseCode responseCode,
91 void finalizeTransaction(ConfirmationResponseCode responseCode,
Dkeystore_cli_v2.cpp554 ConfirmationResponseCode responseCode = static_cast<ConfirmationResponseCode>(aidl_return); in Confirmation() local
555 if (responseCode != ConfirmationResponseCode::OK) { in Confirmation()
556 printf("Presenting confirmation prompt failed with response code %d.\n", responseCode); 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()
577 responseCode); in Confirmation()
Dkey_store_service.cpp114 KeyStoreServiceReturnCode responseCode; in updateParamsForAttestation() local
116 std::tie(responseCode, factoryResetSinceIdRotation) = hadFactoryResetSinceIdRotation(); in updateParamsForAttestation()
118 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.cpp636 int responseCode = 0; in getNetworkForDnsInternal() local
638 if (!readResponseCode(fd, &responseCode)) { in getNetworkForDnsInternal()
643 if (responseCode != ResponseCode::DnsProxyQueryResult) { in getNetworkForDnsInternal()