Home
last modified time | relevance | path

Searched refs:toScopedAStatus (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.cpp64 ScopedAStatus toScopedAStatus(const int32_t exceptionCode, const std::string& message) { in toScopedAStatus() function
154 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogClientError); in registerClient()
162 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogClientError); in unregisterClient()
170 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogClientError); in tellClientAlive()
179 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, in addResourceOveruseListener()
183 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, "Must provide exactly one I/O resource type"); in addResourceOveruseListener()
190 return toScopedAStatus(result.error().code(), in addResourceOveruseListener()
201 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, in removeResourceOveruseListener()
205 return toScopedAStatus(result.error().code(), in removeResourceOveruseListener()
217 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, in getResourceOveruseStats()
[all …]
DWatchdogInternalHandler.cpp73 ScopedAStatus toScopedAStatus(int32_t exceptionCode, const std::string& message) { in toScopedAStatus() function
78 ScopedAStatus toScopedAStatus(const Result<void>& result) { in toScopedAStatus() function
79 return toScopedAStatus(result.error().code(), result.error().message()); in toScopedAStatus()
84 return toScopedAStatus(EX_SECURITY, in checkSystemUser()
213 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in registerCarWatchdogService()
235 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in unregisterCarWatchdogService()
246 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in registerMonitor()
257 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in unregisterMonitor()
270 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in tellCarWatchdogServiceAlive()
283 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in tellDumpFinished()
[all …]
DWatchdogProcessService.cpp130 ScopedAStatus toScopedAStatus(Result<void> resultWithRegistrationError) { in toScopedAStatus() function
296 return toScopedAStatus(registerClient(clientInfo, timeout)); in registerClient()
324 return toScopedAStatus(result); in registerCarWatchdogService()