Home
last modified time | relevance | path

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

12345678910

/system/update_engine/
Ddbus_service.cc41 bool DBusUpdateEngineService::AttemptUpdate(ErrorPtr* error, in AttemptUpdate()
49 ErrorPtr* error, in AttemptUpdateWithFlags()
65 bool DBusUpdateEngineService::AttemptInstall(ErrorPtr* error, in AttemptInstall()
88 bool DBusUpdateEngineService::AttemptRollback(ErrorPtr* error, in AttemptRollback()
93 bool DBusUpdateEngineService::CanRollback(ErrorPtr* error, in CanRollback()
98 bool DBusUpdateEngineService::ResetStatus(ErrorPtr* error) { in ResetStatus()
102 bool DBusUpdateEngineService::GetStatus(ErrorPtr* error, in GetStatus()
120 bool DBusUpdateEngineService::RebootIfNeeded(ErrorPtr* error) { in RebootIfNeeded()
124 bool DBusUpdateEngineService::SetChannel(ErrorPtr* error, in SetChannel()
130 bool DBusUpdateEngineService::GetChannel(ErrorPtr* error, in GetChannel()
[all …]
Dcommon_service.cc52 void LogAndSetError(ErrorPtr* error, in LogAndSetError()
110 bool UpdateEngineService::AttemptInstall(brillo::ErrorPtr* error, in AttemptInstall()
122 bool UpdateEngineService::AttemptRollback(ErrorPtr* error, bool in_powerwash) { in AttemptRollback()
141 bool UpdateEngineService::ResetStatus(ErrorPtr* error) { in ResetStatus()
150 bool UpdateEngineService::GetStatus(ErrorPtr* error, in GetStatus()
159 bool UpdateEngineService::RebootIfNeeded(ErrorPtr* error) { in RebootIfNeeded()
168 bool UpdateEngineService::SetChannel(ErrorPtr* error, in SetChannel()
212 bool UpdateEngineService::SetCohortHint(ErrorPtr* error, in SetCohortHint()
230 bool UpdateEngineService::GetCohortHint(ErrorPtr* error, in GetCohortHint()
243 bool UpdateEngineService::SetP2PUpdatePermission(ErrorPtr* error, in SetP2PUpdatePermission()
[all …]
Dbinder_service_android.cc30 Status ErrorPtrToStatus(const brillo::ErrorPtr& error) { in ErrorPtrToStatus()
105 brillo::ErrorPtr error; in applyPayload() local
114 brillo::ErrorPtr error; in suspend() local
121 brillo::ErrorPtr error; in resume() local
128 brillo::ErrorPtr error; in cancel() local
135 brillo::ErrorPtr error; in resetStatus() local
147 brillo::ErrorPtr error; in verifyPayloadApplicable() local
/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
/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.cc50 string* error, in UpdateCheckAllowed()
107 string* error, in UpdateCanBeApplied()
143 string* error, in UpdateCanStart()
154 string* error, in UpdateDownloadAllowed()
165 string* error, in P2PEnabled()
175 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.cpp75 static std::optional<TransportId> switch_socket_transport(int fd, std::string* error) { in switch_socket_transport()
131 bool adb_status(int fd, std::string* error) { in adb_status()
152 static int _adb_connect(std::string_view service, TransportId* transport, std::string* error) { in _adb_connect()
215 int adb_connect(std::string_view service, std::string* error) { in adb_connect()
222 std::string error; in adb_get_server_executable_path() local
231 static bool __adb_check_server_version(std::string* error) { in __adb_check_server_version()
313 bool adb_check_server_version(std::string* error) { in adb_check_server_version()
326 int adb_connect(TransportId* transport, std::string_view service, std::string* error) { in adb_connect()
351 std::string error; in adb_command() local
367 bool adb_query(const std::string& service, std::string* result, std::string* error) { in adb_query()
[all …]
/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp172 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()
400 keymaster_error_t error = KM_ERROR_OK; in Begin() local
[all …]
Drsa_operation.cpp38 EVP_PKEY* RsaOperationFactory::GetRsaKey(Key&& key, keymaster_error_t* error) { in GetRsaKey()
175 keymaster_error_t error; in SetRsaPaddingInEvpContext() local
238 int RsaDigestingOperation::GetOpensslPadding(keymaster_error_t* error) { in GetOpensslPadding()
265 keymaster_error_t error = RsaDigestingOperation::Begin(input_params, output_params); in Begin() local
298 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
340 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
420 keymaster_error_t error = UpdateForFinish(additional_params, input); in Finish() local
503 int RsaCryptOperation::GetOpensslPadding(keymaster_error_t* error) { in GetOpensslPadding()
528 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
/system/libvintf/
DCompatibilityMatrix.cpp33 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel()
105 const std::string& path, std::string* error) { in fetchAllInformation()
177 bool CompatibilityMatrix::addAllHalsAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllHalsAsOptional()
229 bool CompatibilityMatrix::addAllXmlFilesAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllXmlFilesAsOptional()
256 bool CompatibilityMatrix::addAllKernels(CompatibilityMatrix* other, std::string* error) { in addAllKernels()
269 bool CompatibilityMatrix::addAllKernelsAsOptional(CompatibilityMatrix* other, std::string* error) { in addAllKernelsAsOptional()
299 bool CompatibilityMatrix::addSepolicy(CompatibilityMatrix* other, std::string* error) { in addSepolicy()
305 bool CompatibilityMatrix::addAvbMetaVersion(CompatibilityMatrix* other, std::string* error) { in addAvbMetaVersion()
311 bool CompatibilityMatrix::addVndk(CompatibilityMatrix* other, std::string* error) { in addVndk()
320 bool CompatibilityMatrix::addVendorNdk(CompatibilityMatrix* other, std::string* error) { in addVendorNdk()
[all …]
DVintfObject.cpp55 std::string error; in Get() local
146 std::string* error) { in getCombinedFrameworkMatrix()
204 std::string* error) { in addDirectoryManifests()
237 status_t VintfObject::fetchDeviceHalManifest(HalManifest* out, std::string* error) { in fetchDeviceHalManifest()
286 status_t VintfObject::fetchOdmHalManifest(HalManifest* out, std::string* error) { in fetchOdmHalManifest()
324 std::string* error) { in fetchOneHalManifest()
333 status_t VintfObject::fetchDeviceMatrix(CompatibilityMatrix* out, std::string* error) { in fetchDeviceMatrix()
348 status_t VintfObject::fetchFrameworkHalManifest(HalManifest* out, std::string* error) { in fetchFrameworkHalManifest()
379 static void appendLine(std::string* error, const std::string& message) { in appendLine()
387 std::string* error) { in getOneMatrix()
[all …]
/system/core/base/
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/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) { in network_loopback_server()
133 int network_connect(const std::string& host, int port, int type, int timeout, std::string* error) { in network_connect()
/system/core/fastboot/
Dudp.cpp142 std::string* error) { in NewTransport()
152 bool UdpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol()
207 size_t rx_length, int attempts, std::string* error) { in SendData()
254 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper()
329 std::string error; in Read() local
347 std::string error; in Write() local
373 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect()
380 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
Dtcp.cpp82 std::string* error) { in NewTransport()
93 bool TcpTransport::InitializeProtocol(std::string* error) { in InitializeProtocol()
181 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect()
188 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
/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()
/system/core/init/
Dresult.h165 Result(Error&& error) : contents_(std::in_place_index_t<1>(), error.str(), error.get_errno()) {} in Result()
182 const ResultError& error() const & { return std::get<1>(contents_); } in error() function
183 ResultError&& error() && { return std::get<1>(std::move(contents_)); } in error() function
184 const ResultError&& error() const && { return std::get<1>(std::move(contents_)); } in error() function
Dproperty_service.cpp146 static uint32_t PropertySet(const std::string& name, const std::string& value, std::string* error) { in PropertySet()
230 std::string error; in PropertyChildReap() local
243 PropertyAsyncFunc func, std::string* error) { in PropertySetAsync()
277 std::string error; in InitPropertySet() local
448 const std::string& source_context, const ucred& cr, std::string* error) { in CheckPermissions()
484 const std::string& source_context, const ucred& cr, std::string* error) { in HandlePropertySet()
557 std::string error; in handle_property_set_fd() local
580 std::string error; in handle_property_set_fd() local
679 std::string error; in LoadProperties() local
736 std::string error; in load_override_properties() local
[all …]
/system/bt/tools/bdtool/
Dbdtool.c159 int error; in main() local
181 int error; in main() local
215 int error = in main() local
249 int error = in main() local
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp202 keymaster_error_t error = SetAuthorizations(key_description, origin, os_version_, in CreateKeyBlob() local
219 keymaster_error_t error = ParseKeyBlob(key_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob() local
282 keymaster_error_t error; in ParseKeyBlob() local
339 keymaster_error_t error = DeserializeIntegrityAssuredBlob_NoHmacCheck( in DeleteKey() local
360 keymaster_error_t error = DeserializeIntegrityAssuredBlob_NoHmacCheck( in DeleteKey() local
412 keymaster_error_t error = km1_dev_->get_key_characteristics(km1_dev_, &blob, client_id_ptr, in ParseKeymaster1HwBlob() local
439 keymaster_error_t error = FakeKeyAuthorizations(tmp_key.get(), hw_enforced, sw_enforced); in ParseKeymaster0HwBlob() local
449 keymaster_error_t error = KM_ERROR_OK; in GenerateAttestation() local

12345678910