Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 15 of 15) sorted by relevance

/aosp14/system/core/fs_mgr/libfiemap/
H A Dfiemap_status.cpp23 if (error_code() == ErrorCode::ERROR) { in string()
26 return strerror(-static_cast<int>(error_code())); in string()
31 FiemapStatus::ErrorCode FiemapStatus::CastErrorCode(int error_code) { in CastErrorCode() argument
32 switch (error_code) { in CastErrorCode()
35 return static_cast<ErrorCode>(error_code); in CastErrorCode()
H A Dfiemap_writer_test.cpp544 ASSERT_EQ(status.error_code(), FiemapStatus::ErrorCode::NO_SPACE); in TEST_F()
549 ASSERT_NE(status.error_code(), FiemapStatus::ErrorCode::NO_SPACE); in TEST_F()
/aosp14/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dreturn.h35 ErrorCode error_code() const { return error_code_; } in error_code() function
36 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok()
47 : error_code_(FromFiemapStatusErrorCode(status.error_code())), required_size_(0) {} in Return()
52 Return(ErrorCode error_code, uint64_t required_size = 0)
53 : error_code_(error_code), required_size_(required_size) {}
56 static ErrorCode FromFiemapStatusErrorCode(FiemapStatus::ErrorCode error_code);
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dreturn.cpp24 switch (error_code()) { in string()
30 return strerror(-static_cast<int>(error_code())); in string()
34 Return::ErrorCode Return::FromFiemapStatusErrorCode(FiemapStatus::ErrorCode error_code) { in FromFiemapStatusErrorCode() argument
35 switch (error_code) { in FromFiemapStatusErrorCode()
39 return static_cast<ErrorCode>(error_code); in FromFiemapStatusErrorCode()
H A Dsnapshot.cpp3129 if (orig.error_code() != Return::ErrorCode::NO_SPACE) { in AddRequiredSpace()
4337 std::error_code ec; in DeleteDeviceIfExists()
/aosp14/system/core/fs_mgr/libfiemap/include/libfiemap/
H A Dfiemap_status.h42 static FiemapStatus FromErrorCode(int32_t error_code) { in FromErrorCode() argument
43 return FiemapStatus(CastErrorCode(error_code)); in FromErrorCode()
52 ErrorCode error_code() const { return error_code_; } in error_code() function
53 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok()
/aosp14/frameworks/base/keystore/java/android/security/keystore/
H A DKeystoreResponse.java37 final int error_code = in.readInt();
39 return new KeystoreResponse(error_code, error_msg);
48 protected KeystoreResponse(int error_code, String error_msg) { in KeystoreResponse() argument
49 this.error_code_ = error_code; in KeystoreResponse()
/aosp14/system/core/fastboot/
H A Dsocket.cpp291 DWORD error_code = WSAGetLastError(); in GetErrorMessage() local
293 int error_code = errno; in GetErrorMessage()
295 return android::base::SystemErrorCodeToString(error_code); in GetErrorMessage()
/aosp14/system/core/init/
H A Dfirst_stage_init.cpp131 std::error_code ec; in PrepareSwitchRoot()
361 std::error_code ec; in FirstStageMain()
377 std::error_code ec; // to invoke the overloaded copy_file() that won't throw. in FirstStageMain()
H A Dmount_handler.cpp96 std::error_code ec; in GetRootDisk()
H A Dsnapuserd_transition.cpp148 std::error_code ec; in RelabelDeviceMapper()
H A Dfirst_stage_mount.cpp608 std::error_code ec; in CopyDsuAvbKeys()
/aosp14/frameworks/base/proto/src/
H A Dipconnectivity.proto313 int32 error_code = 3;
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java4445 atom.key_size, atom.ec_curve, atom.key_origin, atom.error_code,
4524 atom.error_code, atom.key_upgraded, atom.security_level, atomWrapper.count));
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt37832 field public static final String ERROR_CODE = "error_code";