Home
last modified time | relevance | path

Searched refs:ErrorCode (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1294 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1300 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1312 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1318 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1324 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1330 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
1336 EXPECT_EQ(ErrorCode::UNEXPECTED_ENCODING, error); in TEST()
1343 EXPECT_EQ(ErrorCode::UNEXPECTED_ENCODING, error); in TEST()
1350 EXPECT_EQ(ErrorCode::UNEXPECTED_ENCODING, error); in TEST()
1363 EXPECT_EQ(ErrorCode::NO_ERROR, error); in TEST()
[all …]
/frameworks/compile/libbcc/include/bcc/
DCompiler.h52 enum ErrorCode { enum
75 static const char *GetErrorString(enum ErrorCode pErrCode);
82 enum ErrorCode runPasses(Script &pScript, llvm::raw_pwrite_stream &pResult);
95 enum ErrorCode config(const CompilerConfig &pConfig);
101 enum ErrorCode compile(Script &pScript, llvm::raw_pwrite_stream &pResult,
115 enum ErrorCode screenGlobalFunctions(Script &pScript);
DRSCompilerDriver.h73 Compiler::ErrorCode compileScript(Script& pScript, const char* pScriptName,
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h119 enum class ErrorCode {
133 ErrorType() : error_code_(ErrorCode::NO_ERROR) {}
138 ErrorType(ErrorCode error_code) : error_code_(error_code) {}
141 ErrorType(ErrorCode error_code, EncodingClass encoding_class,
149 explicit operator bool() const { return error_code_ != ErrorCode::NO_ERROR; }
152 operator ErrorCode() const { return error_code_; }
153 ErrorCode error_code() const { return error_code_; }
168 case ErrorCode::NO_ERROR:
170 case ErrorCode::UNEXPECTED_ENCODING:
174 case ErrorCode::UNEXPECTED_TYPE_SIZE:
[all …]
Dremote_method.h370 case rpc::ErrorCode::NO_ERROR:
376 case rpc::ErrorCode::INSUFFICIENT_DESTINATION_SIZE:
430 case rpc::ErrorCode::NO_ERROR:
436 case rpc::ErrorCode::INSUFFICIENT_DESTINATION_SIZE:
Dserializable.h117 return ErrorCode::UNEXPECTED_TYPE_SIZE;
/frameworks/base/services/incremental/
DServiceWrappers.h76 using ErrorCode = incfs::ErrorCode; variable
87 virtual ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId id,
89 virtual ErrorCode makeDir(const Control& control, std::string_view path, int mode) const = 0;
90 virtual ErrorCode makeDirs(const Control& control, std::string_view path, int mode) const = 0;
94 virtual ErrorCode link(const Control& control, std::string_view from,
96 virtual ErrorCode unlink(const Control& control, std::string_view path) const = 0;
98 virtual ErrorCode writeBlocks(std::span<const incfs::DataBlock> blocks) const = 0;
DServiceWrappers.cpp149 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId id, in makeFile()
153 ErrorCode makeDir(const Control& control, std::string_view path, int mode) const final { in makeDir()
156 ErrorCode makeDirs(const Control& control, std::string_view path, int mode) const final { in makeDirs()
168 ErrorCode link(const Control& control, std::string_view from, std::string_view to) const final { in link()
171 ErrorCode unlink(const Control& control, std::string_view path) const final { in unlink()
177 ErrorCode writeBlocks(std::span<const incfs::DataBlock> blocks) const final { in writeBlocks()
/frameworks/base/core/java/android/net/
DInvalidPacketException.java52 public @interface ErrorCode {} annotation in InvalidPacketException
58 public InvalidPacketException(@ErrorCode final int error) { in InvalidPacketException()
DSocketKeepalive.java110 public @interface ErrorCode {} annotation in SocketKeepalive
274 public void onError(@ErrorCode int error) {} in onError()
/frameworks/compile/libbcc/lib/
DCompiler.cpp118 const char *Compiler::GetErrorString(enum ErrorCode pErrCode) { in GetErrorString()
169 enum ErrorCode err = config(pConfig); in Compiler()
179 enum Compiler::ErrorCode Compiler::config(const CompilerConfig &pConfig) { in config()
221 enum Compiler::ErrorCode Compiler::runPasses(Script &script, in runPasses()
301 enum Compiler::ErrorCode Compiler::compile(Script &script, in compile()
305 enum ErrorCode err; in compile()
489 enum Compiler::ErrorCode Compiler::screenGlobalFunctions(Script &script) { in screenGlobalFunctions()
DRSCompilerDriver.cpp109 Compiler::ErrorCode RSCompilerDriver::compileScript(Script& pScript, const char* pScriptName, in compileScript()
183 Compiler::ErrorCode err = mCompiler.config(*mConfig); in compileScript()
205 Compiler::ErrorCode compile_result = in compileScript()
294 Compiler::ErrorCode status = compileScript(script, pResName, in build()
445 Compiler::ErrorCode status = compileScript(pScript, pOut, pOut, pRuntimePath, in buildForCompatLib()
/frameworks/base/core/java/android/os/
DUpdateEngine.java181 public @interface ErrorCode {} annotation in UpdateEngine
466 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS;
481 @ErrorCode
619 @ErrorCode
DUpdateEngineCallback.java48 @UpdateEngine.ErrorCode int errorCode); in onPayloadApplicationComplete()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h53 using ErrorCode = frameworks::cameraservice::device::V2_0::ErrorCode; variable
112 android::hardware::Return<void> onDeviceError(ErrorCode errorCode,
227 ErrorCode errorCode,
DACameraDevice.cpp809 ErrorCode errorCode, in onCaptureErrorLocked()
833 if (errorCode == ErrorCode::CAMERA_BUFFER) { in onCaptureErrorLocked()
873 failure->wasImageCaptured = (errorCode == ErrorCode::CAMERA_RESULT); in onCaptureErrorLocked()
1412 ErrorCode errorCode, in onDeviceError()
1429 case ErrorCode::CAMERA_DISCONNECTED: in onDeviceError()
1446 case ErrorCode::CAMERA_DEVICE: in onDeviceError()
1447 case ErrorCode::CAMERA_SERVICE: in onDeviceError()
1454 case ErrorCode::CAMERA_DEVICE: in onDeviceError()
1457 case ErrorCode::CAMERA_SERVICE: in onDeviceError()
1473 case ErrorCode::CAMERA_REQUEST: in onDeviceError()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java1211 public @interface ErrorCode {}; annotation in CameraDevice.StateCallback
1297 @ErrorCode int error); // Must implement in onError()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsUceAdapter.java132 public @interface ErrorCode {} annotation in RcsUceAdapter
211 public void onError(@ErrorCode int errorCode) { in onError()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dipc_helper.h190 if (status && rpc::Deserialize(data, &payload) != rpc::ErrorCode::NO_ERROR) in ReceiveData()
200 if (status && rpc::Deserialize(request, &payload) != rpc::ErrorCode::NO_ERROR) in ReceiveData()
/frameworks/base/core/proto/android/stats/otaupdate/
Dupdateengine_enums.proto45 enum ErrorCode { enum
/frameworks/av/services/camera/libcameraservice/hidl/
DConvert.h52 using HErrorCode = frameworks::cameraservice::device::V2_0::ErrorCode;
/frameworks/base/core/proto/android/stats/connectivity/
Dtethering.proto21 enum ErrorCode { enum
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceCallback.hal29 oneway onDeviceError(ErrorCode errorCode,
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp275 ErrorCode(const Control& control, std::string_view path, int mode, FileId id,
277 MOCK_CONST_METHOD3(makeDir, ErrorCode(const Control& control, std::string_view path, int mode));
279 ErrorCode(const Control& control, std::string_view path, int mode));
284ErrorCode(const Control& control, std::string_view from, std::string_view to));
285 MOCK_CONST_METHOD2(unlink, ErrorCode(const Control& control, std::string_view path));
287 MOCK_CONST_METHOD1(writeBlocks, ErrorCode(std::span<const DataBlock> blocks));
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp201 Compiler::ErrorCode result = compiler->config(*config); in ConfigCompiler()

12