/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogBinderMediator.cpp | 65 Status fromExceptionCode(const int32_t exceptionCode, const std::string& message) { in fromExceptionCode() function 67 return Status::fromExceptionCode(exceptionCode, message.c_str()); in fromExceptionCode() 208 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogClientError); in registerClient() 215 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogClientError); in unregisterClient() 223 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogClientError); in tellClientAlive() 232 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in addResourceOveruseListener() 236 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in addResourceOveruseListener() 244 return fromExceptionCode(result.error().code(), in addResourceOveruseListener() 254 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in removeResourceOveruseListener() 258 return fromExceptionCode(result.error().code(), in removeResourceOveruseListener() [all …]
|
D | WatchdogInternalHandler.cpp | 55 return Status::fromExceptionCode(Status::EX_SECURITY, in checkSystemUser() 61 Status fromExceptionCode(int32_t exceptionCode, std::string message) { in fromExceptionCode() function 63 return Status::fromExceptionCode(exceptionCode, message.c_str()); in fromExceptionCode() 91 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in registerCarWatchdogService() 109 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in unregisterCarWatchdogService() 120 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in registerMonitor() 131 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in unregisterMonitor() 144 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in tellCarWatchdogServiceAlive() 156 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogMonitorError); in tellDumpFinished() 171 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange() [all …]
|
D | WatchdogServiceHelper.cpp | 44 Status fromExceptionCode(int32_t exceptionCode, std::string message) { in fromExceptionCode() function 46 return Status::fromExceptionCode(exceptionCode, message.c_str()); in fromExceptionCode() 67 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in registerService() 77 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in registerService() 94 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in unregisterService() 124 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in checkIfAlive() 138 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in prepareProcessTermination() 184 return fromExceptionCode(Status::EX_ILLEGAL_STATE, "Watchdog service is not initialized"); in getPackageInfosForUids() 199 return fromExceptionCode(Status::EX_ILLEGAL_STATE, "Watchdog service is not initialized"); in latestIoOveruseStats() 210 return fromExceptionCode(Status::EX_ILLEGAL_STATE, "Watchdog service is not initialized"); in resetResourceOveruseStats()
|
D | WatchdogProcessService.cpp | 177 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in registerCarWatchdogService() 200 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "The monitor is dead."); in registerMonitor() 215 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in unregisterMonitor() 265 fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in tellDumpFinished() 299 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Unsupported user state"); in notifyUserStateChange() 431 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, errorStr.c_str()); in registerClientLocked() 460 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, errorCause); in unregisterClientLocked() 478 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in tellClientAliveLocked()
|
/packages/services/Car/cpp/computepipe/runner/client_interface/ |
D | AidlClientImpl.cpp | 198 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in getPipeDescriptor() 206 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setPipeInputSource() 218 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setPipeOffloadOptions() 230 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setPipeTermination() 242 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in init() 267 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setPipeOutputConfig() 294 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in applyPipeConfigs() 306 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in resetPipeConfigs() 346 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in getPipeDebugger() 349 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getPipeDebugger()
|
D | StatusUtil.cpp | 31 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in ToNdkStatus() 33 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in ToNdkStatus() 36 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in ToNdkStatus()
|
D | DebuggerImpl.cpp | 110 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in startPipeProfiling() 145 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in getPipeProfilingInfo() 156 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in getPipeProfilingInfo() 171 return ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in releaseDebugger()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogServiceHelperTest.cpp | 217 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE))); in TEST_F() 275 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F() 315 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F() 366 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F() 414 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F() 449 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()
|
D | WatchdogInternalHandlerTest.cpp | 191 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F() 220 Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Illegal argument"))); in TEST_F()
|
D | IoOveruseMonitorTest.cpp | 780 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE))); in TEST_F()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.cpp | 100 return Status::fromExceptionCode(Status::EX_SECURITY, in checkSystemPermission() 231 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in getCurrentPowerPolicy() 244 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, errorMsg.c_str()); in getPowerComponentState() 260 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, errorCause); in registerPowerPolicyChangeCallback() 269 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, errorCause); in registerPowerPolicyChangeCallback() 293 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, errorCause); in unregisterPowerPolicyChangeCallback() 327 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in notifyPowerPolicyChange() 347 fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifyPowerPolicyDefinition()
|
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/ |
D | TelemetryServerTest.cpp | 252 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCode(::EX_TRANSACTION_FAILED)))) in TEST_F() 267 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCode(::EX_TRANSACTION_FAILED)))) in TEST_F()
|
/packages/services/Car/cpp/computepipe/example/ |
D | FaceTracker.h | 65 return ndk::ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getClientName()
|
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/ |
D | ClientInterfaceTest.cc | 97 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getClientName()
|