Home
last modified time | relevance | path

Searched refs:fromExceptionCodeWithMessage (Results 1 – 14 of 14) 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.cpp138 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in toScopedAStatus()
287 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerClient()
302 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterClient()
318 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerCarWatchdogService()
350 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in registerMonitor()
379 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, in registerMonitor()
391 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
398 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in unregisterMonitor()
414 return ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellClientAlive()
426 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in tellCarWatchdogServiceAlive()
[all …]
DWatchdogBinderMediator.cpp66 return ScopedAStatus::fromExceptionCodeWithMessage(exceptionCode, message.c_str()); in toScopedAStatus()
DWatchdogInternalHandler.cpp75 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()
270 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
280 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
292 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
301 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
307 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
324 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
333 return ScopedAStatus::fromExceptionCodeWithMessage(EX_SERVICE_SPECIFIC, in start_test_service()
/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.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.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/powerpolicy/server/src/
DSilentModeHandler.cpp150 fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in setSilentMode()
DCarPowerPolicyServer.cpp278 return ScopedAStatus::fromExceptionCodeWithMessage(ret.error().code(), in setPowerPolicyGroup()
493 return ScopedAStatus::fromExceptionCodeWithMessage(ret.error().code(), in applyPowerPolicy()
506 return ScopedAStatus::fromExceptionCodeWithMessage(ret.error().code(), in setPowerPolicyGroup()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp73 return Status::fromExceptionCodeWithMessage(code, msg.c_str()); in exception()