Home
last modified time | relevance | path

Searched refs:fromExceptionCode (Results 1 – 25 of 81) sorted by relevance

1234

/aosp12/hardware/google/pixel/vibrator/drv2624/
H A DVibrator.cpp137 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in on()
149 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in on()
168 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in off()
176 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in setAmplitude()
183 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setAmplitude()
192 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setExternalControl()
363 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in alwaysOnEnable()
367 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in alwaysOnEnable()
383 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getCompositionDelayMax()
387 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getCompositionSizeMax()
[all …]
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DWatchdogBinderMediator.cpp232 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()
269 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in getResourceOveruseStats()
273 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in getResourceOveruseStats()
278 return fromExceptionCode(result.error().code(), in getResourceOveruseStats()
289 return fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in registerMediator()
294 return fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in unregisterMediator()
[all …]
H A DWatchdogInternalHandler.cpp54 return Status::fromExceptionCode(Status::EX_SECURITY, in checkSystemUser()
60 Status fromExceptionCode(int32_t exceptionCode, std::string message) { in fromExceptionCode() function
62 return Status::fromExceptionCode(exceptionCode, message.c_str()); in fromExceptionCode()
90 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in registerCarWatchdogService()
108 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, kNullCarWatchdogServiceError); in unregisterCarWatchdogService()
170 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange()
186 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange()
201 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in notifySystemStateChange()
222 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in handlePowerCycleChange()
261 return fromExceptionCode(result.error().code(), result.error().message()); in updateResourceOveruseConfigurations()
[all …]
H A DWatchdogServiceHelper.cpp45 Status fromExceptionCode(int32_t exceptionCode, std::string message) { in fromExceptionCode() function
47 return Status::fromExceptionCode(exceptionCode, message.c_str()); in fromExceptionCode()
68 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in registerService()
78 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, in registerService()
95 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in unregisterService()
125 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in checkIfAlive()
139 return fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, in prepareProcessTermination()
185 return fromExceptionCode(Status::EX_ILLEGAL_STATE, "Watchdog service is not initialized"); in getPackageInfosForUids()
200 return fromExceptionCode(Status::EX_ILLEGAL_STATE, "Watchdog service is not initialized"); in latestIoOveruseStats()
211 return fromExceptionCode(Status::EX_ILLEGAL_STATE, "Watchdog service is not initialized"); in resetResourceOveruseStats()
[all …]
/aosp12/frameworks/native/cmds/servicemanager/
H A DServiceManager.cpp251 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
255 return Status::fromExceptionCode(Status::EX_SECURITY); in addService()
303 return Status::fromExceptionCode(Status::EX_SECURITY); in listServices()
332 return Status::fromExceptionCode(Status::EX_SECURITY); in registerForNotifications()
368 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterForNotifications()
390 return Status::fromExceptionCode(Status::EX_SECURITY); in isDeclared()
418 return Status::fromExceptionCode(Status::EX_SECURITY); in getDeclaredInstances()
429 return Status::fromExceptionCode(Status::EX_SECURITY); in updatableViaApex()
501 return Status::fromExceptionCode(Status::EX_SECURITY); in registerClientCallback()
636 return Status::fromExceptionCode(Status::EX_SECURITY); in tryUnregisterService()
[all …]
/aosp12/hardware/google/graphics/common/libhwc2.1/
H A Dpixel-display.cpp72 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setHbmState()
76 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getHbmState()
93 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setLbeState()
101 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setLbeAmbientLight()
109 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getLbeState()
117 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in isLhbmSupported()
126 return ndk::ScopedAStatus::fromExceptionCode(STATUS_TIMED_OUT); in setLhbmState()
128 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setLhbmState()
136 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getLhbmState()
155 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setMinIdleRefreshRate()
[all …]
/aosp12/hardware/google/pixel/vibrator/cs40l26/
H A DVibrator.cpp401 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in off()
414 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in on()
443 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in setAmplitude()
591 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in on()
612 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in on()
631 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setEffectAmplitude()
692 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in getResonantFrequency()
703 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in getQFactor()
784 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setPwle()
1248 return ndk::ScopedAStatus::fromExceptionCode(EX_NULL_POINTER); in uploadOwtEffect()
[all …]
/aosp12/hardware/google/pixel/vibrator/cs40l25/
H A DVibrator.cpp291 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in off()
326 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in setAmplitude()
364 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setExternalControl()
427 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in compose()
455 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in compose()
488 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setEffectAmplitude()
500 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setGlobalAmplitude()
555 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in getResonantFrequency()
566 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in getQFactor()
652 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE); in setPwle()
[all …]
/aosp12/hardware/qcom/sm7250/display/composer/
H A Dpixel-display.cpp61 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in isHbmSupported()
71 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setHbmState()
81 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getHbmState()
91 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in isLbeSupported()
101 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setLbeState()
111 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setLbeAmbientLight()
121 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getLbeState()
/aosp12/hardware/interfaces/automotive/occupant_awareness/aidl/mock/
H A DOccupantAwareness.cpp39 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in startDetection()
55 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in stopDetection()
70 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getCapabilityForRole()
90 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getState()
95 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getState()
115 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in setCallback()
127 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getLatestDetection()
/aosp12/frameworks/native/services/vibratorservice/test/
H A DVibratorHalWrapperAidlTest.cpp321 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
325 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
329 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
333 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
340 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
344 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
348 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
352 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
356 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
360 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
[all …]
H A DVibratorManagerHalWrapperAidlTest.cpp155 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F()
156 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
191 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F()
192 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
257 Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY)))) in TEST_F()
262 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
263 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
292 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F()
293 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
312 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F()
[all …]
/aosp12/hardware/interfaces/automotive/occupant_awareness/aidl/default/
H A DOccupantAwareness.cpp60 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getCapabilityForRole()
71 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getState()
76 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getState()
87 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in setCallback()
98 return ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in getLatestDetection()
/aosp12/hardware/interfaces/vibrator/aidl/default/
H A DVibrator.cpp144 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getPrimitiveDuration()
157 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in compose()
165 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in compose()
168 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in compose()
171 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in compose()
208 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in alwaysOnEnable()
312 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in composePwle()
330 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in composePwle()
335 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in composePwle()
341 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in composePwle()
[all …]
/aosp12/packages/services/Car/cpp/computepipe/runner/client_interface/
H A DAidlClientImpl.cpp198 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()
H A DStatusUtil.cpp31 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()
/aosp12/system/apex/apexd/
H A Dapexservice.cpp151 return BinderStatus::fromExceptionCode( in stagePackages()
165 return BinderStatus::fromExceptionCode( in unstagePackages()
182 return BinderStatus::fromExceptionCode( in submitStagedSession()
204 return BinderStatus::fromExceptionCode( in markStagedSessionReady()
219 return BinderStatus::fromExceptionCode( in markStagedSessionSuccessful()
256 return BinderStatus::fromExceptionCode( in reserveSpaceForCompressedApex()
391 return BinderStatus::fromExceptionCode( in activatePackage()
412 return BinderStatus::fromExceptionCode( in deactivatePackage()
466 return BinderStatus::fromExceptionCode( in installAndActivatePackage()
489 return BinderStatus::fromExceptionCode( in preinstallPackages()
[all …]
/aosp12/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp82 return Status::fromExceptionCode( in checkIncidentPermissions()
89 return Status::fromExceptionCode( in checkIncidentPermissions()
100 return Status::fromExceptionCode( in checkIncidentPermissions()
110 return Status::fromExceptionCode( in checkIncidentPermissions()
319 return Status::fromExceptionCode(Status::EX_SECURITY, "Only ROOT or SHELL allowed"); in reportIncidentToDumpstate()
358 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerSection()
364 return Status::fromExceptionCode(Status::EX_SECURITY); in registerSection()
382 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterSection()
389 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in unregisterSection()
394 return Status::fromExceptionCode(Status::EX_SECURITY, in systemRunning()
/aosp12/frameworks/native/include/binder/
H A DStatus.h88 static Status fromExceptionCode(int32_t exceptionCode);
89 static Status fromExceptionCode(int32_t exceptionCode,
91 static Status fromExceptionCode(int32_t exceptionCode,
/aosp12/frameworks/native/libs/binder/include/binder/
H A DStatus.h88 static Status fromExceptionCode(int32_t exceptionCode);
89 static Status fromExceptionCode(int32_t exceptionCode,
91 static Status fromExceptionCode(int32_t exceptionCode,
/aosp12/frameworks/base/libs/services/src/os/
H A DDropBoxManager.cpp193 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "can't find dropbox service"); in addData()
211 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, message.c_str()); in addFile()
222 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, message.c_str()); in addFile()
227 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "can't find dropbox service"); in addFile()
/aosp12/frameworks/native/libs/binder/
H A DStatus.cpp26 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() function in android::binder::Status
33 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() function in android::binder::Status
41 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() function in android::binder::Status
43 return fromExceptionCode(exceptionCode, String8(message)); in fromExceptionCode()
/aosp12/hardware/google/pixel/powerstats/
H A DAidlStateResidencyDataProvider.cpp53 return binderStatus::fromExceptionCode(binderStatus::EX_NULL_POINTER, "callback is null"); in unregisterCallbackInternal()
71 : binderStatus::fromExceptionCode(binderStatus::EX_ILLEGAL_ARGUMENT, in unregisterCallbackInternal()
94 return binderStatus::fromExceptionCode( in registerCallback()
103 return binderStatus::fromExceptionCode(binderStatus::EX_ILLEGAL_ARGUMENT, "Invalid entity"); in registerCallback()
/aosp12/frameworks/native/services/powermanager/tests/
H A DPowerHalWrapperAidlTest.cpp103 .WillRepeatedly(Return(Status::fromExceptionCode(-1))); in TEST_F()
106 .WillRepeatedly(Return(Status::fromExceptionCode(-1))); in TEST_F()
167 .WillRepeatedly(Return(Status::fromExceptionCode(-1))); in TEST_F()
170 .WillRepeatedly(Return(Status::fromExceptionCode(-1))); in TEST_F()
229 .WillRepeatedly(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT))); in TEST_F()
/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DWatchdogServiceHelperTest.cpp222 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE))); in TEST_F()
280 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()
320 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()
371 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()
419 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()
454 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()
496 .WillOnce(Return(Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Illegal state"))); in TEST_F()

1234