Home
last modified time | relevance | path

Searched refs:fromExceptionCodeWithMessage (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DWatchdogServiceHelper.cpp46 ScopedAStatus fromExceptionCodeWithMessage(binder_exception_t exceptionCode, in fromExceptionCodeWithMessage() function
49 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in fromExceptionCodeWithMessage()
81 return fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, "Must provide non-null service"); in registerService()
88 return fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in registerService()
114 return fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in registerService()
127 return fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, "Must provide non-null service"); in unregisterService()
132 return fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterService()
168 return fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in checkIfAlive()
184 return fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in prepareProcessTermination()
236 return fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in getPackageInfosForUids()
[all …]
DWatchdogProcessService.cpp129 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in toScopedAStatus()
247 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerClient()
261 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterClient()
275 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerCarWatchdogService()
306 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerMonitor()
335 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in registerMonitor()
347 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
354 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
370 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellClientAlive()
382 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellCarWatchdogServiceAlive()
[all …]
DWatchdogBinderMediator.cpp65 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
DWatchdogInternalHandler.cpp72 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
/packages/modules/Virtualization/tests/testapk/src/native/
Dtestbinary.cpp179 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
265 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
275 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
287 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
296 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
302 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogServiceHelperTest.cpp337 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
394 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
448 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
486 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
517 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
564 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
593 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
DWatchdogInternalHandlerTest.cpp230 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
267 ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in TEST_F()
DIoOveruseMonitorTest.cpp884 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DCarTelemetryImpl.cpp44 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(result.error().code(), in addCallback()
54 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(result.error().code(), in removeCallback()
DCarTelemetryInternalImpl.cpp57 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(::EX_ILLEGAL_STATE, in setListener()
/packages/modules/Virtualization/tests/benchmark/src/native/
Dbenchmarkbinary.cpp53 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in resultStatus()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp73 return Status::fromExceptionCodeWithMessage(code, msg.c_str()); in exception()