Home
last modified time | relevance | path

Searched refs:fromExceptionCode (Results 1 – 10 of 10) sorted by relevance

/system/vold/
DCheckpoint.cpp115 if (retry < -1) return Status::fromExceptionCode(EINVAL, "Retry count must be more than -1"); in cp_startCheckpoint()
126 return Status::fromExceptionCode(errno, "Failed to write checkpoint file"); in cp_startCheckpoint()
150 return Status::fromExceptionCode(EINVAL, String8(msg.c_str())); in cp_commitChanges()
162 return Status::fromExceptionCode(EINVAL, "Failed to get /proc/mounts"); in cp_commitChanges()
175 return Status::fromExceptionCode(EINVAL, "Failed to remount"); in cp_commitChanges()
180 return Status::fromExceptionCode(EINVAL, "Failed to set bow state"); in cp_commitChanges()
187 return Status::fromExceptionCode(errno, err_str.c_str()); in cp_commitChanges()
326 return Status::fromExceptionCode(EINVAL, "Failed to get /proc/mounts"); in cp_prepareCheckpoint()
588 return Status::fromExceptionCode(errno, ("Cannot open " + blockDevice).c_str()); in cp_restoreCheckpoint()
598 return Status::fromExceptionCode(EINVAL, "No magic"); in cp_restoreCheckpoint()
[all …]
DVoldNativeService.cpp58 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in exception()
/system/extras/perfprofd/binder_interface/
Dperfprofd_binder.cc160 return Status::fromExceptionCode(1, error_msg.c_str()); in startProfiling()
174 return Status::fromExceptionCode(1, tmp.c_str()); in startProfilingString()
182 return Status::fromExceptionCode(1, error_msg.c_str()); in startProfilingString()
197 return binder::Status::fromExceptionCode(2, "Could not read protobuf"); in StartProfilingProtobuf()
205 return Status::fromExceptionCode(1, error_msg.c_str()); in StartProfilingProtobuf()
240 Status::fromExceptionCode(1, error_msg.c_str()); in stopProfiling()
/system/apex/apexd/
Dapexservice.cpp97 return BinderStatus::fromExceptionCode(BinderStatus::EX_SECURITY, in CheckDebuggable()
134 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in stagePackages()
148 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in unstagePackages()
201 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in markStagedSessionSuccessful()
338 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in activatePackage()
360 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in deactivatePackage()
434 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in preinstallPackages()
453 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in postinstallPackages()
461 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in abortActiveSession()
476 return BinderStatus::fromExceptionCode(BinderStatus::EX_ILLEGAL_ARGUMENT, in rollbackActiveSession()
[all …]
/system/libhidl/base/
DStatus.cpp85 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() function in android::hardware::Status
92 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() function in android::hardware::Status
/system/extras/partition_tools/
Dlpdumpd.cc44 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in run()
/system/libhidl/base/include/hidl/
DStatus.h86 static Status fromExceptionCode(int32_t exceptionCode);
87 static Status fromExceptionCode(int32_t exceptionCode,
/system/libhidl/
Dtest_main.cpp474 EXPECT_THAT(toString(Status::fromExceptionCode(Status::EX_NULL_POINTER)), in TEST_F()
/system/gsid/
Dgsi_service.cpp404 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, in CheckUid()
/system/netd/server/
DNetdNativeService.cpp94 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, err.c_str()); in checkAnyPermission()