/system/teeui/test/ |
D | teeui_locale_test.cpp | 39 int error = runRenderTest("en", false /* magnified */); in TEST_F() local 44 int error = runRenderTest("en", true /* magnified */); in TEST_F() local 49 int error = runRenderTest("af", false /* magnified */); in TEST_F() local 54 int error = runRenderTest("af", true /* magnified */); in TEST_F() local 59 int error = runRenderTest("am", false /* magnified */); in TEST_F() local 64 int error = runRenderTest("am", true /* magnified */); in TEST_F() local 69 int error = runRenderTest("ar", false /* magnified */); in TEST_F() local 74 int error = runRenderTest("ar", true /* magnified */); in TEST_F() local 79 int error = runRenderTest("ar-EG", false /* magnified */); in TEST_F() local 84 int error = runRenderTest("ar-EG", true /* magnified */); in TEST_F() local [all …]
|
D | teeui_draw_label_text_test.cpp | 45 int error = runRenderTest("en", false /* magnified */, &kText12Character8Group[0]); in TEST_F() local 50 int error = runRenderTest("en", true /* magnified */, &kText12Character8Group[0]); in TEST_F() local 55 int error = runRenderTest("en", false /* magnified */, &kText100Character1Group[0]); in TEST_F() local 60 int error = runRenderTest("en", true /* magnified */, &kText100Character1Group[0]); in TEST_F() local 65 int error = runRenderTest("en", false /* magnified */, ""); in TEST_F() local 70 int error = runRenderTest("en", true /* magnified */, ""); in TEST_F() local 75 int error = runRenderTest("en", false /* magnified */, &kText12Character8Group[0], in TEST_F() local 81 int error = runRenderTest("en", true /* magnified */, &kText12Character8Group[0], in TEST_F() local 87 int error = runRenderTest("en", false /* magnified */, &kText100Character1Group[0], in TEST_F() local 93 int error = runRenderTest("en", true /* magnified */, &kText100Character1Group[0], in TEST_F() local [all …]
|
/system/update_engine/cros/ |
D | dbus_service.cc | 60 bool DBusUpdateEngineService::AttemptUpdate(ErrorPtr* error, in AttemptUpdate() 68 ErrorPtr* error, in AttemptUpdateWithFlags() 84 bool DBusUpdateEngineService::AttemptInstall(ErrorPtr* error, in AttemptInstall() 90 bool DBusUpdateEngineService::AttemptRollback(ErrorPtr* error, in AttemptRollback() 95 bool DBusUpdateEngineService::CanRollback(ErrorPtr* error, in CanRollback() 100 bool DBusUpdateEngineService::ResetStatus(ErrorPtr* error) { in ResetStatus() 104 bool DBusUpdateEngineService::SetDlcActiveValue(brillo::ErrorPtr* error, in SetDlcActiveValue() 110 bool DBusUpdateEngineService::GetStatusAdvanced(ErrorPtr* error, in GetStatusAdvanced() 121 bool DBusUpdateEngineService::RebootIfNeeded(ErrorPtr* error) { in RebootIfNeeded() 125 bool DBusUpdateEngineService::SetChannel(ErrorPtr* error, in SetChannel() [all …]
|
D | common_service.cc | 52 void LogAndSetError(ErrorPtr* error, in LogAndSetError() 105 bool UpdateEngineService::AttemptInstall(brillo::ErrorPtr* error, in AttemptInstall() 117 bool UpdateEngineService::AttemptRollback(ErrorPtr* error, bool in_powerwash) { in AttemptRollback() 136 bool UpdateEngineService::ResetStatus(ErrorPtr* error) { in ResetStatus() 145 bool UpdateEngineService::SetDlcActiveValue(brillo::ErrorPtr* error, in SetDlcActiveValue() 156 bool UpdateEngineService::GetStatus(ErrorPtr* error, in GetStatus() 165 bool UpdateEngineService::RebootIfNeeded(ErrorPtr* error) { in RebootIfNeeded() 174 bool UpdateEngineService::SetChannel(ErrorPtr* error, in SetChannel() 219 bool UpdateEngineService::SetCohortHint(ErrorPtr* error, in SetCohortHint() 236 bool UpdateEngineService::GetCohortHint(ErrorPtr* error, in GetCohortHint() [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 | 36 keymaster_error_t* error) { in make_cert_chain() 59 keymaster_error_t error = build_attestation_record(attest_params, sw_enforced, tee_enforced, in build_attestation_extension() local 90 keymaster_error_t error = in build_eat_extension() local 116 if (auto error = build_attestation_extension(attest_params, tee_enforced, sw_enforced, in add_attestation_extension() local 121 if (auto error = build_eat_extension(attest_params, tee_enforced, sw_enforced, context, in add_attestation_extension() local 144 if (auto error = make_cert(evp_pkey, issuer, cert_params, &certificate)) { in make_attestation_cert() local 149 if (auto error = add_attestation_extension(attest_params, tee_enforced, sw_enforced, context, in make_attestation_cert() local 158 X509_NAME_Ptr get_issuer_subject(const AttestKeyInfo& attest_key, keymaster_error_t* error) { in get_issuer_subject() 172 keymaster_error_t* error) { in get_issuer_subject() 198 const CertificateChain& cert_chain, keymaster_error_t* error) { in get_issuer_subject() [all …]
|
D | block_cipher_operation.cpp | 79 keymaster_error_t* error) { in CreateOperation() 172 keymaster_error_t error; in Update() local 181 inline bool is_bad_decrypt(unsigned long error) { in is_bad_decrypt() 190 keymaster_error_t error; in Finish() local 229 keymaster_error_t error; in InitializeCipher() local 291 keymaster_error_t* error) { in HandleAad() 328 bool BlockCipherEvpOperation::ProcessBufferedAadBlock(keymaster_error_t* error) { in ProcessBufferedAadBlock() 340 keymaster_error_t* error) { in ProcessAadBlocks() 363 Buffer* output, keymaster_error_t* error) { in InternalUpdate() 384 Buffer* output, keymaster_error_t* error) { in UpdateForFinish() [all …]
|
D | rsa_operation.cpp | 37 EVP_PKEY* RsaOperationFactory::GetRsaKey(const Key& key, keymaster_error_t* error) { in GetRsaKey() 63 keymaster_error_t* error) { in CreateRsaOperation() 95 keymaster_error_t* error) { in CreateRsaOperation() 209 keymaster_error_t error; in SetRsaPaddingInEvpContext() local 250 int RsaDigestingOperation::GetOpensslPadding(keymaster_error_t* error) { in GetOpensslPadding() 277 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local 308 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local 345 keymaster_error_t error = zero_pad_left(&zero_padded, key_len, data_); in SignUndigested() local 389 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local 418 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 | 32 keymaster_error_t* error) { in CreateOperation() 110 keymaster_error_t error = InitDigest(); in Begin() local 140 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local 171 keymaster_error_t error = InitDigest(); in Begin() local 199 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
|
/system/update_engine/update_manager/ |
D | policy_utils.h | 33 #define POLICY_CHECK_VALUE_AND_FAIL(ptr, error) \ argument 51 std::string* error, in ConsultPolicies() 73 std::string* error, in UpdateCheckAllowed() 81 std::string* error, in UpdateCanBeApplied() 89 std::string* error, in UpdateCanStart() 97 std::string* error, in P2PEnabled() 104 std::string* error, in P2PEnabledChanged()
|
D | default_policy.cc | 38 std::string* error, in UpdateCheckAllowed() 66 std::string* error, in UpdateCanBeApplied() 75 std::string* error, in UpdateCanStart() 94 std::string* error, in P2PEnabled() 102 std::string* error, in P2PEnabledChanged()
|
D | policy_test_utils.h | 59 std::string error = "<None>"; in ExpectStatus() local 72 std::string error = "<None>"; in CallMethodWithContext() local 84 std::string error = "<None>"; in ExpectPolicyStatus() local
|
/system/update_engine/aosp/ |
D | binder_service_android.cc | 109 brillo::ErrorPtr error; in applyPayload() local 124 brillo::ErrorPtr error; in applyPayloadFd() local 133 brillo::ErrorPtr error; in suspend() local 140 brillo::ErrorPtr error; in resume() local 147 brillo::ErrorPtr error; in cancel() local 154 brillo::ErrorPtr error; in resetStatus() local 166 brillo::ErrorPtr error; in verifyPayloadApplicable() local 198 brillo::ErrorPtr error; in allocateSpaceForPayload() local 235 brillo::ErrorPtr error; in cleanupSuccessfulUpdate() local
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 66 keymaster_error_t error; in Encrypt() local 73 keymaster_error_t error; in Decrypt() local 79 keymaster_error_t error; in Serialize() local 86 keymaster_error_t error; in Deserialize() local 124 keymaster_error_t error; in TEST_F() local 207 keymaster_error_t error; in TEST_F() local 263 keymaster_error_t error; in TEST_F() local 278 keymaster_error_t error; in TEST_F() local 293 keymaster_error_t error; in TEST_F() local 322 keymaster_error_t error; in TEST_F() local [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/keymaster/key_blob_utils/ |
D | auth_encrypted_key_blob.cpp | 39 Buffer generate_nonce(const RandomSource& random, size_t size, keymaster_error_t* error) { in generate_nonce() 55 const AuthorizationSet& hidden, keymaster_error_t* error) { in BuildAesGcmInfo() 82 const KeymasterKeyBlob& master_key, keymaster_error_t* error) { in DeriveAesGcmKeyEncryptionKey() 121 keymaster_error_t* error) { in AesGcmEncryptKey() 163 const KeymasterKeyBlob& master_key, keymaster_error_t* error) { in AesGcmDecryptKey() 209 keymaster_error_t* error) { in SerializeAuthEncryptedBlob() 238 keymaster_error_t* error) { in DeserializeAuthEncryptedBlob() 293 const RandomSource& random, keymaster_error_t* error) { in EncryptKey() 323 const KeymasterKeyBlob& master_key, keymaster_error_t* error) { in DecryptKey()
|
/system/apex/tests/src/com/android/tests/apex/ |
D | ApexRollbackTests.java | 114 String error = mHostUtils.installStagedPackage(apexFile); in testAutomaticBootLoopRecovery() local 159 String error = mHostUtils.installStagedPackage(apexFile); in testSessionNotRevertedWithCheckpointingDisabled() local 196 String error = mHostUtils.installStagedPackage(apexFile); in testCheckpointingRevertsSession() local 234 String error = mHostUtils.installStagedPackage(apexFile); in testRebootingOnceDoesNotRevertSession() local 292 String error = mHostUtils.installStagedPackage(apexFile); in testFailingUserspaceReboot_doesNotRevertUpdate() local 322 String error = mHostUtils.installStagedPackage(apexFile); in testUserspaceRebootFailedShutdownSequence_doesNotRevertUpdate() local 355 String error = mHostUtils.installStagedPackage(apexFile); in testUserspaceRebootFailedRemount_revertsUpdate() local 427 final String error = mHostUtils.installStagedPackage(apexFile); in testReasonForRevertIsLoggedDuringBootloop() local
|
/system/security/keystore2/src/crypto/ |
D | certificate_utils.cpp | 298 if (auto error = std::get_if<CertUtilsError>(&certificateV)) { in makeCert() local 312 if (auto error = std::get_if<CertUtilsError>(&key_usage_extensionV)) { in makeCert() local 327 if (auto error = std::get_if<CertUtilsError>(&basic_constraints_extensionV)) { in makeCert() local 342 if (auto error = std::get_if<CertUtilsError>(&keyidV)) { in makeCert() local 348 if (auto error = std::get_if<CertUtilsError>(&subject_key_extensionV)) { in makeCert() local 379 if (auto error = std::get_if<CertUtilsError>(&keyidV)) { in setIssuer() local 385 if (auto error = std::get_if<CertUtilsError>(&auth_key_extensionV)) { in setIssuer() local 441 if (auto error = setRsaDigestAlgorField(&mgf1_digest, digest)) { in setPssMaskGeneratorField() local 501 if (auto error = setSaltLength(pss.get(), EVP_MD_size(md))) { in buildRsaPssParameter() local 504 if (auto error = setRsaDigestAlgorField(&pss->hashAlgorithm, md)) { in buildRsaPssParameter() local [all …]
|
/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() 250 bool CompatibilityMatrix::addAllXmlFilesAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllXmlFilesAsOptional() 270 bool CompatibilityMatrix::addAllKernels(CompatibilityMatrix* other, std::string* error) { in addAllKernels() 286 bool CompatibilityMatrix::addSepolicy(CompatibilityMatrix* other, std::string* error) { in addSepolicy() 292 bool CompatibilityMatrix::addAvbMetaVersion(CompatibilityMatrix* other, std::string* error) { in addAvbMetaVersion() 298 bool CompatibilityMatrix::addVndk(CompatibilityMatrix* other, std::string* error) { in addVndk() 307 bool CompatibilityMatrix::addVendorNdk(CompatibilityMatrix* other, std::string* error) { in addVendorNdk() 337 Level deviceLevel, std::vector<CompatibilityMatrix>* matrices, std::string* error) { in combine() [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
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 67 std::string error; in add() local 370 std::string error; in TEST_F() local 829 std::string error; in TEST_F() local 950 std::string error; in TEST_F() local 959 std::string error; in TEST_F() local 1260 std::string error; in TEST_F() local 1360 std::string error; in TEST_F() local 1576 std::string error; in TEST_F() local 1633 std::string error; in TEST_F() local 1675 std::string error; in TEST_F() local [all …]
|
/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/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()
|