Home
last modified time | relevance | path

Searched defs:error (Results 1 – 25 of 272) sorted by relevance

1234567891011

/system/teeui/test/
Dteeui_locale_test.cpp39 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 …]
Dteeui_draw_label_text_test.cpp45 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/
Ddbus_service.cc60 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 …]
Dcommon_service.cc52 void LogAndSetError(ErrorPtr* error, in LogAndSetError()
106 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()
218 bool UpdateEngineService::SetCohortHint(ErrorPtr* error, in SetCohortHint()
236 bool UpdateEngineService::GetCohortHint(ErrorPtr* error, in GetCohortHint()
[all …]
Dbinder_service_android.cc35 Status ErrorPtrToStatus(const brillo::ErrorPtr& error) { in ErrorPtrToStatus()
124 brillo::ErrorPtr error; in applyPayload() local
139 brillo::ErrorPtr error; in applyPayloadFd() local
148 brillo::ErrorPtr error; in suspend() local
155 brillo::ErrorPtr error; in resume() local
162 brillo::ErrorPtr error; in cancel() local
169 brillo::ErrorPtr error; in resetStatus() local
181 brillo::ErrorPtr error; in verifyPayloadApplicable() local
213 brillo::ErrorPtr error; in allocateSpaceForPayload() local
250 brillo::ErrorPtr error; in cleanupSuccessfulUpdate() local
/system/teeui/libteeui/src/
Dbutton.cpp44 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/core/adb/
Dadb_listeners_test.cpp68 std::string error; in TEST_F() local
78 std::string error; in TEST_F() local
92 std::string error; in TEST_F() local
107 std::string error; in TEST_F() local
117 std::string error; in TEST_F() local
128 std::string error; in TEST_F() local
139 std::string error; in TEST_F() local
154 std::string error; in TEST_F() local
Dsocket_spec_test.cpp28 std::string hostname, error, serial; in TEST() local
35 std::string hostname, error, serial; in TEST() local
44 std::string hostname, error, serial; in TEST() local
52 std::string hostname, error, serial; in TEST() local
61 std::string hostname, error, serial; in TEST() local
70 std::string hostname, error, serial; in TEST() local
78 std::string hostname, error, serial; in TEST() local
87 std::string hostname, error, serial; in TEST() local
96 std::string hostname, error, serial; in TEST() local
104 std::string error; in TEST() local
[all …]
/system/update_engine/update_manager/
Dpolicy_utils.h33 #define POLICY_CHECK_VALUE_AND_FAIL(ptr, error) \ argument
51 std::string* error, in ConsultPolicies()
74 std::string* error, in UpdateCheckAllowed()
82 std::string* error, in UpdateCanBeApplied()
90 std::string* error, in UpdateCanStart()
98 std::string* error, in UpdateDownloadAllowed()
105 std::string* error, in P2PEnabled()
112 std::string* error, in P2PEnabledChanged()
Ddefault_policy.cc39 std::string* error, in UpdateCheckAllowed()
64 std::string* error, in UpdateCanBeApplied()
73 std::string* error, in UpdateCanStart()
92 std::string* error, in UpdateDownloadAllowed()
100 std::string* error, in P2PEnabled()
108 std::string* error, in P2PEnabledChanged()
Dandroid_things_policy.cc56 string* error, in UpdateCheckAllowed()
114 string* error, in UpdateCanBeApplied()
150 string* error, in UpdateCanStart()
161 string* error, in UpdateDownloadAllowed()
172 string* error, in P2PEnabled()
182 string* error, in P2PEnabledChanged()
Dpolicy_test_utils.h59 std::string error = "<None>"; in ExpectStatus() local
72 std::string error = "<None>"; in CallMethodWithContext() local
84 std::string error = "<None>"; in ExpectPolicyStatus() local
/system/core/adb/client/
Dadb_client.cpp76 static std::optional<TransportId> switch_socket_transport(int fd, std::string* error) { in switch_socket_transport()
132 bool adb_status(borrowed_fd fd, std::string* error) { in adb_status()
153 static int _adb_connect(std::string_view service, TransportId* transport, std::string* error, in _adb_connect()
217 std::string output, error; in adb_kill_server() local
233 int adb_connect(std::string_view service, std::string* error) { in adb_connect()
240 std::string error; in adb_get_server_executable_path() local
249 static bool __adb_check_server_version(std::string* error) { in __adb_check_server_version()
331 bool adb_check_server_version(std::string* error) { in adb_check_server_version()
344 int adb_connect(TransportId* transport, std::string_view service, std::string* error, in adb_connect()
370 std::string error; in adb_command() local
[all …]
/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp81 keymaster_error_t* error) { in CreateOperation()
172 keymaster_error_t error; in Update() local
180 inline bool is_bad_decrypt(unsigned long error) { in is_bad_decrypt()
189 keymaster_error_t error; in Finish() local
226 keymaster_error_t error; in InitializeCipher() local
288 keymaster_error_t* error) { in HandleAad()
325 bool BlockCipherEvpOperation::ProcessBufferedAadBlock(keymaster_error_t* error) { in ProcessBufferedAadBlock()
337 keymaster_error_t* error) { in ProcessAadBlocks()
360 Buffer* output, keymaster_error_t* error) { in InternalUpdate()
381 Buffer* output, keymaster_error_t* error) { in UpdateForFinish()
[all …]
Drsa_operation.cpp38 EVP_PKEY* RsaOperationFactory::GetRsaKey(Key&& key, keymaster_error_t* error) { in GetRsaKey()
64 keymaster_error_t* error) { in CreateRsaOperation()
96 keymaster_error_t* error) { in CreateRsaOperation()
178 keymaster_error_t error; in SetRsaPaddingInEvpContext() local
241 int RsaDigestingOperation::GetOpensslPadding(keymaster_error_t* error) { in GetOpensslPadding()
268 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local
301 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
343 keymaster_error_t error = zero_pad_left(&zero_padded, key_len, data_); in SignUndigested() local
392 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local
423 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
[all …]
Dnist_curve_key_exchange.cpp28 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
Dec_key_factory.cpp53 keymaster_error_t error = EcKeySizeToCurve(*key_size_bits, curve); in GetCurveAndSize() local
58 keymaster_error_t error = EcCurveToKeySize(*curve, key_size_bits); in GetCurveAndSize() local
85 keymaster_error_t error = GetCurveAndSize(authorizations, &ec_curve, &key_size); in GenerateKey() local
138 keymaster_error_t error = UpdateImportKeyDescription( in ImportKey() local
156 keymaster_error_t error = in UpdateImportKeyDescription() local
Decdsa_operation.cpp32 keymaster_error_t* error) { in CreateOperation()
111 keymaster_error_t error = InitDigest(); in Begin() local
145 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
180 keymaster_error_t error = InitDigest(); in Begin() local
211 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
/system/libbase/
Dparsenetaddress_test.cpp24 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/
DApexRollbackTests.java103 String error = device.installPackage(apexFile, false, "--wait"); in testAutomaticBootLoopRecovery() local
148 String error = device.installPackage(apexFile, false, "--wait"); in testSessionNotRevertedWithCheckpointingDisabled() local
189 String error = device.installPackage(apexFile, false, "--wait"); in testCheckpointingRevertsSession() local
231 String error = device.installPackage(apexFile, false, "--wait"); in testRebootingOnceDoesNotRevertSession() local
293 String error = getDevice().installPackage(apexFile, false, "--wait"); in testFailingUserspaceReboot_doesNotRevertUpdate() local
323 String error = getDevice().installPackage(apexFile, false, "--wait"); in testUserspaceRebootFailedShutdownSequence_doesNotRevertUpdate() local
356 String error = getDevice().installPackage(apexFile, false, "--wait"); in testUserspaceRebootFailedRemount_revertsUpdate() local
/system/core/adb/sysdeps/posix/
Dnetwork.cpp32 static void set_error(std::string* error) { in set_error()
58 static int _network_loopback_client(bool ipv6, int port, int type, std::string* error) { in _network_loopback_client()
84 int network_loopback_client(int port, int type, std::string* error) { in network_loopback_client()
93 static int _network_loopback_server(bool ipv6, int port, int type, std::string* error) { in _network_loopback_server()
122 int network_loopback_server(int port, int type, std::string* error, bool prefer_ipv4) { in network_loopback_server()
136 int network_connect(const std::string& host, int port, int type, int timeout, std::string* error) { in network_connect()
/system/libvintf/
DCompatibilityMatrix.cpp48 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel()
122 const std::string& path, std::string* error) { in fetchAllInformation()
194 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()
338 Level deviceLevel, std::vector<CompatibilityMatrix>* matrices, std::string* error) { in combine()
[all …]
/system/core/fastboot/
Dudp.cpp143 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()
Dtcp_test.cpp40 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/nvram/core/tests/
Dfake_storage.cpp73 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()

1234567891011