Home
last modified time | relevance | path

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

/frameworks/native/cmds/servicemanager/
DServiceManager.cpp187 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
191 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
195 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
200 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
206 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in addService()
213 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in addService()
237 return Status::fromExceptionCode(Status::EX_SECURITY); in listServices()
266 return Status::fromExceptionCode(Status::EX_SECURITY); in registerForNotifications()
271 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT); in registerForNotifications()
275 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerForNotifications()
[all …]
/frameworks/native/libs/binder/include/binder/
DStatus.h87 static Status fromExceptionCode(int32_t exceptionCode);
88 static Status fromExceptionCode(int32_t exceptionCode,
90 static Status fromExceptionCode(int32_t exceptionCode,
/frameworks/native/include/binder/
DStatus.h87 static Status fromExceptionCode(int32_t exceptionCode);
88 static Status fromExceptionCode(int32_t exceptionCode,
90 static Status fromExceptionCode(int32_t exceptionCode,
/frameworks/native/libs/binder/
DStatus.cpp26 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() function in android::binder::Status
33 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() function in android::binder::Status
41 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() function in android::binder::Status
43 return fromExceptionCode(exceptionCode, String8(message)); in fromExceptionCode()
/frameworks/base/libs/services/src/os/
DDropBoxManager.cpp203 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, message.c_str()); in addFile()
214 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, message.c_str()); in addFile()
226 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "can't find dropbox service"); in add()
/frameworks/base/cmds/incidentd/src/
DIncidentService.cpp82 return Status::fromExceptionCode( in checkIncidentPermissions()
89 return Status::fromExceptionCode( in checkIncidentPermissions()
100 return Status::fromExceptionCode( in checkIncidentPermissions()
110 return Status::fromExceptionCode( in checkIncidentPermissions()
314 return Status::fromExceptionCode(Status::EX_SECURITY, "Only ROOT or SHELL allowed"); in reportIncidentToDumpstate()
344 return Status::fromExceptionCode(Status::EX_SECURITY, in systemRunning()
/frameworks/native/libs/binder/ndk/
Dstatus.cpp30 return new AStatus(Status::fromExceptionCode(PruneException(exception))); in AStatus_fromExceptionCode()
34 return new AStatus(Status::fromExceptionCode(PruneException(exception), message)); in AStatus_fromExceptionCodeWithMessage()
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp118 return Status::fromExceptionCode(Status::EX_NONE); in NoneStatus()
124 return Status::fromExceptionCode(Status::EX_NONE); in NoneStatus()
131 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in NullptrStatus()
137 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in NullptrStatus()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxBufferSource.cpp57 return ::android::binder::Status::fromExceptionCode( in onInputBufferEmptied()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxBufferSource.cpp57 return ::android::binder::Status::fromExceptionCode( in onInputBufferEmptied()
/frameworks/native/cmds/idlcli/
Dvibrator.h37 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in NullptrStatus()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp58 return Status::fromExceptionCode(Status::EX_NONE, msg.c_str()); in error()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h244 static ScopedAStatus fromExceptionCode(binder_exception_t exception) { in fromExceptionCode() function
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp44 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in exception()
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp105 return Status::fromExceptionCode(BadStableBinder::doUserTransaction(binder)); in sendAndCallBinder()
/frameworks/base/cmds/statsd/src/
DStatsService.cpp71 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in exception()
1099 return Status::fromExceptionCode( in statsCompanionReady()
1165 return Status::fromExceptionCode(binder::Status::EX_ILLEGAL_ARGUMENT, in addConfiguration()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h184 return ::android::binder::Status::fromExceptionCode( in toBinderStatus()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp120 return ::android::binder::Status::fromExceptionCode( in toBinderStatus()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp123 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in exception()