Lines Matching refs:fromExceptionCode
54 return Status::fromExceptionCode(Status::EX_SECURITY, in checkSystemUser()
60 Status fromExceptionCode(int32_t exceptionCode, std::string message) { in fromExceptionCode() function
62 return Status::fromExceptionCode(exceptionCode, message.c_str()); in fromExceptionCode()
90 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in registerCarWatchdogService()
108 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in unregisterCarWatchdogService()
119 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in registerMonitor()
130 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in unregisterMonitor()
143 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in tellCarWatchdogServiceAlive()
155 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in tellDumpFinished()
170 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange()
186 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange()
195 return fromExceptionCode(result.error().code(), result.error().message()); in notifySystemStateChange()
201 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange()
222 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in handlePowerCycleChange()
245 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Unsupported user state"); in handleUserStateChange()
261 return fromExceptionCode(result.error().code(), result.error().message()); in updateResourceOveruseConfigurations()
276 return fromExceptionCode(result.error().code(), result.error().message()); in getResourceOveruseConfigurations()