Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/stable_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.cpp156 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in toScopedAStatus()
324 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerClient()
340 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterClient()
356 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerCarWatchdogService()
391 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerMonitor()
420 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in registerMonitor()
432 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
439 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
455 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellClientAlive()
467 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellCarWatchdogServiceAlive()
[all …]
DWatchdogBinderMediator.cpp66 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
DWatchdogInternalHandler.cpp78 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
/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.cpp156 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in toScopedAStatus()
324 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerClient()
340 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterClient()
356 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerCarWatchdogService()
391 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerMonitor()
420 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in registerMonitor()
432 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
439 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
455 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellClientAlive()
467 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellCarWatchdogServiceAlive()
[all …]
DWatchdogBinderMediator.cpp66 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
DWatchdogInternalHandler.cpp78 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
/packages/modules/Virtualization/tests/testapk/src/native/
Dtestbinary.cpp187 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
246 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
295 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
305 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
317 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
326 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
332 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
354 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
363 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
379 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
[all …]
/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/services/Car/cpp/watchdog/server/tests/
DWatchdogServiceHelperTest.cpp333 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
390 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
444 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
482 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
513 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
560 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
589 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
DWatchdogInternalHandlerTest.cpp292 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
329 ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in TEST_F()
DIoOveruseMonitorTest.cpp890 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
/packages/services/Car/cpp/watchdog/stable_server/tests/
DWatchdogServiceHelperTest.cpp333 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
390 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
444 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
482 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
513 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
560 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
589 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
DWatchdogInternalHandlerTest.cpp292 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
329 ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in TEST_F()
DIoOveruseMonitorTest.cpp890 .WillOnce(Return(ByMove(ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in TEST_F()
/packages/modules/Virtualization/tests/benchmark/src/native/
Dbenchmarkbinary.cpp53 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in resultStatus()
/packages/services/Car/cpp/power/server/src/
DSilentModeHandler.cpp150 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in setSilentMode()
DCarPowerPolicyServer.cpp315 return ScopedAStatus::fromExceptionCodeWithMessage(ret.error().code(), in setPowerPolicyGroup()
724 return ScopedAStatus::fromExceptionCodeWithMessage(ret.error().code(), in applyPowerPolicy()
737 return ScopedAStatus::fromExceptionCodeWithMessage(ret.error().code(), in setPowerPolicyGroup()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp73 return Status::fromExceptionCodeWithMessage(code, msg.c_str()); in exception()