Lines Matching refs:toScopedAStatus

73 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()
314 return toScopedAStatus(result); in notifySystemStateChange()
320 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, StringPrintf("Invalid state change type %d", type)); in notifySystemStateChange()
343 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, in handlePowerCycleChange()
380 return toScopedAStatus(EX_ILLEGAL_ARGUMENT, in handleUserStateChange()
397 return toScopedAStatus(result); in updateResourceOveruseConfigurations()
411 return toScopedAStatus(result); in getResourceOveruseConfigurations()
431 return toScopedAStatus(result); in setThreadPriority()
444 return toScopedAStatus(result); in getThreadPriority()
470 return toScopedAStatus(result); in onTodayIoUsageStatsFetched()