/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterDefs.java | 22 import android.hardware.security.keymint.ErrorCode; 210 public static final int KM_ERROR_OK = ErrorCode.OK; 212 ErrorCode.ROOT_OF_TRUST_ALREADY_SET; // -1; 214 ErrorCode.UNSUPPORTED_PURPOSE; // -2; 216 ErrorCode.INCOMPATIBLE_PURPOSE; // -3; 218 ErrorCode.UNSUPPORTED_ALGORITHM; // -4; 220 ErrorCode.INCOMPATIBLE_ALGORITHM; // -5; 222 ErrorCode.UNSUPPORTED_KEY_SIZE; // -6; 224 ErrorCode.UNSUPPORTED_BLOCK_MODE; // -7; 226 ErrorCode.INCOMPATIBLE_BLOCK_MODE; // -8; [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Result.h | 24 enum class ErrorCode : int32_t { enum 53 Error(ErrorCode err) : mCode(err) {} in Error() 55 Error(ErrorCode err, std::string&& message) : mCode(err), mMessage(std::move(message)) {} in Error() 56 Error(ErrorCode err, const std::string_view& message) : mCode(err), mMessage(message) {} in Error() 58 static constexpr status_t codeToStatus(ErrorCode code) { in codeToStatus() 60 case ErrorCode::None: in codeToStatus() 62 case ErrorCode::BadDescriptor: in codeToStatus() 64 case ErrorCode::BadValue: in codeToStatus() 66 case ErrorCode::BadBuffer: in codeToStatus() 68 case ErrorCode::NoResources: in codeToStatus() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | serialization_tests.cpp | 1294 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/native/libs/nativewindow/rust/src/ |
D | surface.rs | 38 pub fn width(&self) -> Result<u32, ErrorCode> { in width() argument 43 width.try_into().map_err(|_| ErrorCode(width)) in width() 47 pub fn height(&self) -> Result<u32, ErrorCode> { in height() argument 52 height.try_into().map_err(|_| ErrorCode(height)) in height() 56 pub fn format(&self) -> Result<AHardwareBuffer_Format::Type, ErrorCode> { in format() argument 61 format.try_into().map_err(|_| ErrorCode(format)) in format() 135 pub struct ErrorCode(i32); struct 137 impl Error for ErrorCode {} implementation 139 impl Display for ErrorCode { implementation
|
/frameworks/compile/libbcc/include/bcc/ |
D | Compiler.h | 52 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);
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | serialization.h | 119 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 …]
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.h | 79 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 …]
|
D | ServiceWrappers.cpp | 160 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/base/services/core/java/com/android/server/security/rkp/ |
D | RemoteProvisioningRegistration.java | 84 wrapCallback(() -> mCallback.onError(IGetKeyCallback.ErrorCode.ERROR_UNKNOWN, in onError() 93 return IGetKeyCallback.ErrorCode.ERROR_UNKNOWN; in toGetKeyError() 95 return IGetKeyCallback.ErrorCode.ERROR_REQUIRES_SECURITY_PATCH; in toGetKeyError() 97 return IGetKeyCallback.ErrorCode.ERROR_PENDING_INTERNET_CONNECTIVITY; in toGetKeyError() 99 return IGetKeyCallback.ErrorCode.ERROR_PERMANENT; in toGetKeyError() 102 return IGetKeyCallback.ErrorCode.ERROR_UNKNOWN; in toGetKeyError() 131 wrapCallback(() -> callback.onError(IGetKeyCallback.ErrorCode.ERROR_UNKNOWN, in getKey()
|
/frameworks/base/core/java/android/credentials/selection/ |
D | FailureResult.java | 71 public @interface ErrorCode { annotation in FailureResult 95 public FailureResult(@ErrorCode int errorCode, @Nullable String errorMessage) { in FailureResult() 101 @ErrorCode
|
/frameworks/base/core/java/android/security/rkp/ |
D | IGetKeyCallback.aidl | 28 enum ErrorCode { enum 78 void onError(ErrorCode error, String description); in onError()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | ServiceEntitlementException.java | 98 public @interface ErrorCode {} annotation in ServiceEntitlementException 110 @ErrorCode 150 @ErrorCode
|
/frameworks/hardware/interfaces/cameraservice/device/aidl/android/frameworks/cameraservice/device/ |
D | ICameraDeviceCallback.aidl | 20 import android.frameworks.cameraservice.device.ErrorCode; 43 void onDeviceError(in ErrorCode errorCode, in CaptureResultExtras resultExtras); in onDeviceError()
|
/frameworks/base/media/java/android/media/metrics/ |
D | EditingEndedEvent.java | 156 public @interface ErrorCode {} annotation in EditingEndedEvent 164 private final @ErrorCode int mErrorCode; 219 @ErrorCode int errorCode, in EditingEndedEvent() 254 @ErrorCode 436 private @ErrorCode int mErrorCode; 509 public @NonNull Builder setErrorCode(@ErrorCode int value) { in setErrorCode()
|
D | PlaybackErrorEvent.java | 178 public @interface ErrorCode {} annotation in PlaybackErrorEvent 206 @ErrorCode 343 public @NonNull Builder setErrorCode(@ErrorCode int value) { in setErrorCode()
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 118 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()
|
D | RSCompilerDriver.cpp | 109 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/ |
D | SubscriptionTerminatedHelper.java | 20 import android.telephony.ims.RcsUceAdapter.ErrorCode; 48 private final @ErrorCode Optional<Integer> mErrorCode; 51 public TerminatedResult(@ErrorCode Optional<Integer> errorCode, long retryAfterMillis) { in TerminatedResult()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubClientBroker.java | 34 import android.hardware.contexthub.ErrorCode; 652 return ErrorCode.PERMISSION_DENIED; in sendMessageToClient() 661 return ErrorCode.PERMISSION_DENIED; in sendMessageToClient() 665 if (errorCode != ErrorCode.OK) { in sendMessageToClient() 955 return ErrorCode.PERMANENT_ERROR; in invokeCallback() 958 return ErrorCode.OK; in invokeCallback() 1000 return ErrorCode.OK; in sendPendingIntent() 1040 ? ErrorCode.OK in sendPendingIntent() 1041 : ErrorCode.TRANSIENT_ERROR); in sendPendingIntent() 1052 return ErrorCode.OK; in sendPendingIntent() [all …]
|
D | ContextHubClientManager.java | 23 import android.hardware.contexthub.ErrorCode; 241 return ErrorCode.PERMANENT_ERROR; in onMessageFromNanoApp() 249 return ErrorCode.PERMANENT_ERROR; in onMessageFromNanoApp() 255 return ErrorCode.OK; in onMessageFromNanoApp() 265 return ErrorCode.DESTINATION_NOT_FOUND; in onMessageFromNanoApp()
|
/frameworks/base/core/java/android/os/ |
D | UpdateEngine.java | 185 public @interface ErrorCode {} annotation in UpdateEngine 507 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS; 522 @ErrorCode 660 @ErrorCode
|
D | UpdateEngineStableCallback.java | 45 public abstract void onPayloadApplicationComplete(@UpdateEngineStable.ErrorCode int errorCode); in onPayloadApplicationComplete()
|
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
D | RemoteProvisioningRegistrationTest.java | 124 verify(callback).onError(eq(IGetKeyCallback.ErrorCode.ERROR_UNKNOWN), eq("oops!")); in getKeyHandlesArbitraryException() 132 IGetKeyCallback.ErrorCode.ERROR_UNKNOWN, in getKeyMapsRkpErrorsCorrectly() 134 IGetKeyCallback.ErrorCode.ERROR_REQUIRES_SECURITY_PATCH, in getKeyMapsRkpErrorsCorrectly() 136 IGetKeyCallback.ErrorCode.ERROR_PENDING_INTERNET_CONNECTIVITY, in getKeyMapsRkpErrorsCorrectly() 138 IGetKeyCallback.ErrorCode.ERROR_PERMANENT, in getKeyMapsRkpErrorsCorrectly() 141 for (Field errorField: IGetKeyCallback.ErrorCode.class.getFields()) { in getKeyMapsRkpErrorsCorrectly() 236 verify(callback).onError(eq(IGetKeyCallback.ErrorCode.ERROR_UNKNOWN), in getKeyCatchesExceptionFromProxy()
|
/frameworks/av/services/camera/libcameraservice/device3/hidl/ |
D | HidlCamera3OutputUtils.cpp | 69 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/av/services/camera/libcameraservice/device3/aidl/ |
D | AidlCamera3OutputUtils.cpp | 73 using ErrorCode = aidl::android::hardware::camera::device::ErrorCode; in notify() typedef 96 case ErrorCode::ERROR_DEVICE: in notify() 99 case ErrorCode::ERROR_REQUEST: in notify() 102 case ErrorCode::ERROR_RESULT: in notify() 105 case ErrorCode::ERROR_BUFFER: in notify()
|