/system/teeui/test/ |
D | teeui_locale_test.cpp | 39 int error = runRenderTest("en", false /* magnified */, false /* inverted */); in TEST_F() local 44 int error = runRenderTest("en", true /* magnified */, false /* inverted */); in TEST_F() local 49 int error = runRenderTest("af", false /* magnified */, false /* inverted */); in TEST_F() local 54 int error = runRenderTest("af", true /* magnified */, false /* inverted */); in TEST_F() local 59 int error = runRenderTest("am", false /* magnified */, false /* inverted */); in TEST_F() local 64 int error = runRenderTest("am", true /* magnified */, false /* inverted */); in TEST_F() local 69 int error = runRenderTest("ar", false /* magnified */, false /* inverted */); in TEST_F() local 74 int error = runRenderTest("ar", true /* magnified */, false /* inverted */); in TEST_F() local 79 int error = runRenderTest("ar-EG", false /* magnified */, false /* inverted */); in TEST_F() local 84 int error = runRenderTest("ar-EG", true /* magnified */, false /* inverted */); in TEST_F() local [all …]
|
D | teeui_draw_label_text_test.cpp | 53 int error = runRenderTest("en", false /* magnified */, false, &kText12Character8Group[0]); in TEST_F() local 58 int error = runRenderTest("en", true /* magnified */, false, &kText12Character8Group[0]); in TEST_F() local 63 int error = runRenderTest("en", false /* magnified */, false, &kText100Character1Group[0]); in TEST_F() local 68 int error = runRenderTest("en", true /* magnified */, false, &kText100Character1Group[0]); in TEST_F() local 73 int error = runRenderTest("en", false /* magnified */, false, &kTextMultiLine[0]); in TEST_F() local 78 int error = runRenderTest("en", true /* magnified */, false, &kTextMultiLine[0]); in TEST_F() local 83 int error = runRenderTest("en", false /* magnified */, false, ""); in TEST_F() local 88 int error = runRenderTest("en", true /* magnified */, false, ""); in TEST_F() local 93 int error = runRenderTest("en", false /* magnified */, false, &kText12Character8Group[0], in TEST_F() local 99 int error = runRenderTest("en", true /* magnified */, false, &kText12Character8Group[0], in TEST_F() local [all …]
|
/system/teeui/libteeui/src/ |
D | button.cpp | 44 if (auto error = drawPixel(box.x().count() + x, box.y().count() + y, c)) { in draw() local 77 if (auto error = drawPixelBoundsEnforced(pos.x().count(), pos.y().count(), color)) { in draw() local 86 if (auto error = drawCorner(0, 0)) return error; in draw() local 88 if (auto error = drawBox( in draw() local 95 if (auto error = drawCorner(1, 0)) return error; in draw() local 97 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, 0, intRadius, intRadius) in draw() local 105 if (auto error = drawCorner(0, 1)) return error; in draw() local 107 if (auto error = drawBox(Box<intpxs>(0, intBounds.h() - intRadius, intRadius, intRadius) in draw() local 115 if (auto error = drawCorner(1, 1)) return error; in draw() local 117 if (auto error = drawBox(Box<intpxs>(intBounds.w() - intRadius, intBounds.h() - intRadius, in draw() local [all …]
|
/system/keymaster/km_openssl/ |
D | attestation_utils.cpp | 38 keymaster_error_t* error) { in make_cert_chain() 61 keymaster_error_t error = build_attestation_record(attest_params, sw_enforced, tee_enforced, in build_attestation_extension() local 93 keymaster_error_t error = in build_eat_extension() local 119 if (auto error = build_attestation_extension(attest_params, tee_enforced, sw_enforced, context, in add_attestation_extension() local 141 if (auto error = make_cert(evp_pkey, issuer, cert_params, &certificate)) { in make_attestation_cert() local 146 if (auto error = add_attestation_extension(attest_params, tee_enforced, sw_enforced, context, in make_attestation_cert() local 155 X509_NAME_Ptr get_issuer_subject(const AttestKeyInfo& attest_key, keymaster_error_t* error) { in get_issuer_subject() 169 keymaster_error_t* error) { in get_issuer_subject() 195 const CertificateChain& cert_chain, keymaster_error_t* error) { in get_issuer_subject() 221 keymaster_error_t* error) { in get_attestation_key() [all …]
|
D | block_cipher_operation.cpp | 81 keymaster_error_t* error) { in CreateOperation() 176 keymaster_error_t error; in Update() local 185 inline bool is_bad_decrypt(unsigned long error) { in is_bad_decrypt() 194 keymaster_error_t error; in Finish() local 233 keymaster_error_t error; in InitializeCipher() local 295 keymaster_error_t* error) { in HandleAad() 332 bool BlockCipherEvpOperation::ProcessBufferedAadBlock(keymaster_error_t* error) { in ProcessBufferedAadBlock() 344 keymaster_error_t* error) { in ProcessAadBlocks() 367 Buffer* output, keymaster_error_t* error) { in InternalUpdate() 388 Buffer* output, keymaster_error_t* error) { in UpdateForFinish() [all …]
|
D | rsa_operation.cpp | 39 EVP_PKEY* RsaOperationFactory::GetRsaKey(const Key& key, keymaster_error_t* error) { in GetRsaKey() 65 keymaster_error_t* error) { in CreateRsaOperation() 97 keymaster_error_t* error) { in CreateRsaOperation() 211 keymaster_error_t error; in SetRsaPaddingInEvpContext() local 252 int RsaDigestingOperation::GetOpensslPadding(keymaster_error_t* error) { in GetOpensslPadding() 279 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local 310 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local 347 keymaster_error_t error = zero_pad_left(&zero_padded, key_len, data_); in SignUndigested() local 391 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local 420 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local [all …]
|
D | nist_curve_key_exchange.cpp | 28 NistCurveKeyExchange::NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error) in NistCurveKeyExchange() 62 keymaster_error_t error; in GenerateKeyExchange() local 75 keymaster_error_t error = ec_get_group_size(group, &field_len_bits); in ExtractPublicKey() local
|
D | ecdsa_operation.cpp | 36 keymaster_error_t* error) { in CreateOperation() 114 keymaster_error_t error = InitDigest(); in Begin() local 144 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local 192 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local 238 keymaster_error_t error = InitDigest(); in Begin() local 266 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
|
/system/update_engine/aosp/ |
D | binder_service_android.cc | 105 Error error; in applyPayload() local 120 Error error; in applyPayloadFd() local 129 Error error; in suspend() local 136 Error error; in resume() local 143 Error error; in cancel() local 150 Error error; in resetStatus() local 158 Error error; in setShouldSwitchSlotOnReboot() local 167 Error error; in resetShouldSwitchSlotOnReboot() local 180 Error error; in verifyPayloadApplicable() local 212 Error error; in allocateSpaceForPayload() local [all …]
|
D | update_attempter_android.cc | 86 bool LogAndSetGenericError(Error* error, in LogAndSetGenericError() 100 bool LogAndSetError(Error* error, in LogAndSetError() 123 Error* error) { in ParseKeyValuePairHeaders() 244 Error* error) { in ApplyPayload() 422 Error* error) { in ApplyPayload() 449 bool UpdateAttempterAndroid::SuspendUpdate(Error* error) { in SuspendUpdate() 457 bool UpdateAttempterAndroid::ResumeUpdate(Error* error) { in ResumeUpdate() 465 bool UpdateAttempterAndroid::CancelUpdate(Error* error) { in CancelUpdate() 473 bool UpdateAttempterAndroid::ResetStatus(Error* error) { in ResetStatus() 536 Error* error) { in VerifyPayloadParseManifest() [all …]
|
/system/libbase/ |
D | parsenetaddress_test.cpp | 24 std::string canonical, host, error; in TEST() local 41 std::string canonical, host, error; in TEST() local 56 std::string canonical, host, error; in TEST() local 113 std::string error; in TEST() local 121 std::string host, error; in TEST() local
|
/system/apex/tests/src/com/android/tests/apex/ |
D | ApexdHostTest.java | 273 String error = mHostUtils.installStagedPackage(apexFile); in testApexSessionStateUnchangedBeforeReboot() local 367 String error = mHostUtils.installStagedPackage(apexFile); in testRejectsStagedApexWithIncorrectUpdatableViaApexValue() local 393 String error = mHostUtils.installStagedPackage(apexFile); in testRejectsStagedApexWithInvalidSyntaxVintfFragment() local 416 String error = mHostUtils.installStagedPackage(apexFile); in testRejectsStagedApexThatUpdatesUnrelatedHardware() local 440 String error = mHostUtils.installRebootlessPackage(apexFile); in testAcceptsGoodRebootlessApex() local 463 String error = mHostUtils.installRebootlessPackage(apexFile); in testRejectsRebootlessApexWithIncorrectUpdatableViaApexValue() local 489 String error = mHostUtils.installRebootlessPackage(apexFile); in testRejectsRebootlessApexWithInvalidSyntaxVintfFragment() local 512 String error = mHostUtils.installRebootlessPackage(apexFile); in testRejectsRebootlessApexThatUpdatesUnrelatedHardware() local
|
D | ApexRollbackTests.java | 122 String error = mHostUtils.installStagedPackage(apexFile); in testAutomaticBootLoopRecovery() local 167 String error = mHostUtils.installStagedPackage(apexFile); in testSessionNotRevertedWithCheckpointingDisabled() local 204 String error = mHostUtils.installStagedPackage(apexFile); in testCheckpointingRevertsSession() local 242 String error = mHostUtils.installStagedPackage(apexFile); in testRebootingOnceDoesNotRevertSession() local 338 final String error = mHostUtils.installStagedPackage(apexFile); in testReasonForRevertIsLoggedDuringBootloop() local
|
/system/libvintf/ |
D | CompatibilityMatrix.cpp | 48 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel() 122 const std::string& path, std::string* error) { in fetchAllInformation() 193 bool CompatibilityMatrix::addAllHalsAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllHalsAsOptional() 251 bool CompatibilityMatrix::addAllXmlFilesAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllXmlFilesAsOptional() 271 bool CompatibilityMatrix::addAllKernels(CompatibilityMatrix* other, std::string* error) { in addAllKernels() 287 bool CompatibilityMatrix::addSepolicy(CompatibilityMatrix* other, std::string* error) { in addSepolicy() 293 bool CompatibilityMatrix::addAvbMetaVersion(CompatibilityMatrix* other, std::string* error) { in addAvbMetaVersion() 299 bool CompatibilityMatrix::addVndk(CompatibilityMatrix* other, std::string* error) { in addVndk() 308 bool CompatibilityMatrix::addVendorNdk(CompatibilityMatrix* other, std::string* error) { in addVendorNdk() 339 std::string* error) { in combine() [all …]
|
D | Apex.cpp | 40 std::vector<std::string>* dirs, std::string* error, in GetVintfDirs() 91 std::string error; in GetModifiedTime() local 104 std::vector<std::string>* dirs, std::string* error) { in GetDeviceVintfDirs() 111 std::vector<std::string>* dirs, std::string* error) { in GetFrameworkVintfDirs()
|
D | VintfObject.cpp | 162 std::string error; in getFrameworkCompatibilityMatrix() local 184 CompatibilityMatrix* out, std::string* error) { in getCombinedFrameworkMatrix() 235 bool forceSchemaType, std::string* error) { in addDirectoryManifests() 272 std::string* error) { in addDirectoriesManifests() 284 status_t VintfObject::fetchDeviceHalManifestApex(HalManifest* out, std::string* error) { in fetchDeviceHalManifestApex() 302 status_t VintfObject::fetchDeviceHalManifest(HalManifest* out, std::string* error) { in fetchDeviceHalManifest() 358 status_t VintfObject::fetchVendorHalManifest(HalManifest* out, std::string* error) { in fetchVendorHalManifest() 392 status_t VintfObject::fetchOdmHalManifest(HalManifest* out, std::string* error) { in fetchOdmHalManifest() 430 std::string* error) { in fetchOneHalManifest() 439 status_t VintfObject::fetchDeviceMatrix(CompatibilityMatrix* out, std::string* error) { in fetchDeviceMatrix() [all …]
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 70 std::string error; in add() local 153 std::string error; in createManifestHal() local 467 std::string error; in TEST_F() local 479 std::string error; in TEST_F() local 495 std::string error; in TEST_F() local 521 std::string error; in TEST_F() local 543 std::string error; in TEST_F() local 568 std::string error; in TEST_F() local 590 std::string error; in TEST_F() local 1094 std::string error; in TEST_F() local [all …]
|
/system/core/fastboot/ |
D | udp.cpp | 143 std::string* error) { in NewTransport() 153 bool UdpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol() 208 size_t rx_length, int attempts, std::string* error) { in SendData() 255 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper() 330 std::string error; in Read() local 348 std::string error; in Write() local 378 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() 385 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
|
D | tcp_test.cpp | 40 std::string error; in TEST() local 50 std::string error; in TEST() local 59 std::string error; in TEST() local 69 std::string error; in TEST() local 79 std::string error; in TEST() local 89 std::string error; in TEST() local 102 std::string error; in SetUp() local
|
D | tcp.cpp | 83 std::string* error) { in NewTransport() 94 bool TcpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol() 186 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() 193 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
|
/system/keymaster/include/keymaster/contexts/ |
D | soft_attestation_context.h | 36 keymaster_error_t* error) const override { in GetAttestationKey() 41 keymaster_error_t* error) const override { in GetAttestationChain()
|
/system/security/keystore2/src/crypto/ |
D | certificate_utils.cpp | 299 if (auto error = std::get_if<CertUtilsError>(&certificateV)) { in makeCert() local 313 if (auto error = std::get_if<CertUtilsError>(&key_usage_extensionV)) { in makeCert() local 328 if (auto error = std::get_if<CertUtilsError>(&basic_constraints_extensionV)) { in makeCert() local 343 if (auto error = std::get_if<CertUtilsError>(&keyidV)) { in makeCert() local 349 if (auto error = std::get_if<CertUtilsError>(&subject_key_extensionV)) { in makeCert() local 380 if (auto error = std::get_if<CertUtilsError>(&keyidV)) { in setIssuer() local 386 if (auto error = std::get_if<CertUtilsError>(&auth_key_extensionV)) { in setIssuer() local 442 if (auto error = setRsaDigestAlgorField(&mgf1_digest, digest)) { in setPssMaskGeneratorField() local 502 if (auto error = setSaltLength(pss.get(), EVP_MD_size(md))) { in buildRsaPssParameter() local 505 if (auto error = setRsaDigestAlgorField(&pss->hashAlgorithm, md)) { in buildRsaPssParameter() local [all …]
|
/system/nvram/core/tests/ |
D | fake_storage.cpp | 73 void set_read_error(bool error) { read_error_ = error; } in set_read_error() 74 void set_write_error(bool error) { write_error_ = error; } in set_write_error() 135 void SetHeaderReadError(bool error) { in SetHeaderReadError() 139 void SetHeaderWriteError(bool error) { in SetHeaderWriteError() 165 void SetSpaceReadError(uint32_t index, bool error) { in SetSpaceReadError() 172 void SetSpaceWriteError(uint32_t index, bool error) { in SetSpaceWriteError()
|
/system/chre/chpp/services/ |
D | wwan.c | 142 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppDispatchWwanRequest() local 208 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppWwanServiceOpen() local 252 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppWwanServiceClose() local 305 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppWwanServiceGetCapabilities() local 348 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppWwanServiceGetCellInfoAsync() local
|
D | gnss.c | 157 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppDispatchGnssRequest() local 244 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppGnssServiceOpen() local 288 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppGnssServiceClose() local 341 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppGnssServiceGetCapabilities() local 384 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppGnssServiceControlLocationSession() local 423 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppGnssServiceControlMeasurementSession() local 460 enum ChppAppErrorCode error = CHPP_APP_ERROR_NONE; in chppGnssServiceConfigurePassiveLocationListener() local
|