Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/security/keymaster/
DKeymasterDefs.java22 import android.hardware.security.keymint.ErrorCode;
205 public static final int KM_ERROR_OK = ErrorCode.OK;
207 ErrorCode.ROOT_OF_TRUST_ALREADY_SET; // -1;
209 ErrorCode.UNSUPPORTED_PURPOSE; // -2;
211 ErrorCode.INCOMPATIBLE_PURPOSE; // -3;
213 ErrorCode.UNSUPPORTED_ALGORITHM; // -4;
215 ErrorCode.INCOMPATIBLE_ALGORITHM; // -5;
217 ErrorCode.UNSUPPORTED_KEY_SIZE; // -6;
219 ErrorCode.UNSUPPORTED_BLOCK_MODE; // -7;
221 ErrorCode.INCOMPATIBLE_BLOCK_MODE; // -8;
[all …]
/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.h79 using ErrorCode = incfs::ErrorCode; variable
100 virtual ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId id,
102 virtual ErrorCode makeMappedFile(const Control& control, std::string_view path, int mode,
104 virtual ErrorCode makeDir(const Control& control, std::string_view path, int mode) const = 0;
105 virtual ErrorCode makeDirs(const Control& control, std::string_view path, int mode) const = 0;
115 virtual ErrorCode link(const Control& control, std::string_view from,
117 virtual ErrorCode unlink(const Control& control, std::string_view path) const = 0;
119 virtual ErrorCode writeBlocks(std::span<const incfs::DataBlock> blocks) const = 0;
120 virtual ErrorCode reserveSpace(const Control& control, FileId id, IncFsSize size) const = 0;
124 virtual ErrorCode setUidReadTimeouts(
[all …]
DServiceWrappers.cpp160 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId id, in makeFile()
164 ErrorCode makeMappedFile(const Control& control, std::string_view path, int mode, in makeMappedFile()
168 ErrorCode makeDir(const Control& control, std::string_view path, int mode) const final { in makeDir()
171 ErrorCode makeDirs(const Control& control, std::string_view path, int mode) const final { in makeDirs()
224 ErrorCode link(const Control& control, std::string_view from, std::string_view to) const final { in link()
227 ErrorCode unlink(const Control& control, std::string_view path) const final { in unlink()
233 ErrorCode writeBlocks(std::span<const incfs::DataBlock> blocks) const final { in writeBlocks()
236 ErrorCode reserveSpace(const Control& control, FileId id, IncFsSize size) const final { in reserveSpace()
244 ErrorCode setUidReadTimeouts(const Control& control, in setUidReadTimeouts()
258 ErrorCode forEachFile(const Control& control, FileCallback cb) const final { in forEachFile()
[all …]
/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/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DSubscriptionTerminatedHelper.java20 import android.telephony.ims.RcsUceAdapter.ErrorCode;
48 private final @ErrorCode Optional<Integer> mErrorCode;
51 public TerminatedResult(@ErrorCode Optional<Integer> errorCode, long retryAfterMillis) { in TerminatedResult()
DCapabilityRequestResponse.java23 import android.telephony.ims.RcsUceAdapter.ErrorCode;
53 private @ErrorCode Optional<Integer> mRequestInternalError;
136 public synchronized void setRequestInternalError(@ErrorCode int errorCode) { in setRequestInternalError()
/frameworks/base/core/java/android/os/
DUpdateEngine.java181 public @interface ErrorCode {} annotation in UpdateEngine
503 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS;
518 @ErrorCode
656 @ErrorCode
DUpdateEngineCallback.java48 @UpdateEngine.ErrorCode int errorCode); in onPayloadApplicationComplete()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3OutputUtils.cpp72 using ErrorCode = aidl::android::hardware::camera::device::ErrorCode; in notify() typedef
95 case ErrorCode::ERROR_DEVICE: in notify()
98 case ErrorCode::ERROR_REQUEST: in notify()
101 case ErrorCode::ERROR_RESULT: in notify()
104 case ErrorCode::ERROR_BUFFER: in notify()
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3OutputUtils.cpp69 using android::hardware::camera::device::V3_2::ErrorCode; in notify()
90 case ErrorCode::ERROR_DEVICE: in notify()
93 case ErrorCode::ERROR_REQUEST: in notify()
96 case ErrorCode::ERROR_RESULT: in notify()
99 case ErrorCode::ERROR_BUFFER: in notify()
/frameworks/base/media/java/android/media/metrics/
DPlaybackErrorEvent.java178 public @interface ErrorCode {} annotation in PlaybackErrorEvent
206 @ErrorCode
343 public @NonNull Builder setErrorCode(@ErrorCode int value) { in setErrorCode()
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationUtils.java21 import android.hardware.security.keymint.ErrorCode;
191 if (e.getErrorCode() != ErrorCode.INVALID_OPERATION_HANDLE) { in abortOperation()
/frameworks/base/core/java/android/hardware/camera2/
DCameraInjectionSession.java99 public @interface ErrorCode {}; annotation in CameraInjectionSession.InjectionStatusCallback
DCameraDevice.java1441 public @interface ErrorCode {}; annotation in CameraDevice.StateCallback
1527 @ErrorCode int error); // Must implement in onError()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java21 import android.telephony.ims.RcsUceAdapter.ErrorCode;
97 final @ErrorCode Optional<Integer> mErrorCode;
189 private @ErrorCode Optional<Integer> mErrorCode;
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h54 using ErrorCode = frameworks::cameraservice::device::V2_0::ErrorCode; variable
113 android::hardware::Return<void> onDeviceError(ErrorCode errorCode,
228 ErrorCode errorCode,
DACameraDevice.cpp816 ErrorCode errorCode, in onCaptureErrorLocked()
840 if (errorCode == ErrorCode::CAMERA_BUFFER) { in onCaptureErrorLocked()
899 failure->wasImageCaptured = (errorCode == ErrorCode::CAMERA_RESULT); in onCaptureErrorLocked()
1506 ErrorCode errorCode, in onDeviceError()
1523 case ErrorCode::CAMERA_DISCONNECTED: in onDeviceError()
1540 case ErrorCode::CAMERA_DEVICE: in onDeviceError()
1541 case ErrorCode::CAMERA_SERVICE: in onDeviceError()
1548 case ErrorCode::CAMERA_DEVICE: in onDeviceError()
1551 case ErrorCode::CAMERA_SERVICE: in onDeviceError()
1567 case ErrorCode::CAMERA_REQUEST: in onDeviceError()
[all …]
/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()

12