/frameworks/native/cmds/servicemanager/ |
D | ServiceManager.cpp | 419 return Status::fromExceptionCode(Status::EX_SECURITY, "App UIDs cannot add services."); in addService() 423 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in addService() 427 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Null binder."); in addService() 432 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in addService() 438 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "VINTF declaration error."); in addService() 451 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath."); in addService() 509 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in listServices() 538 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux"); in registerForNotifications() 548 return Status::fromExceptionCode(Status::EX_SECURITY, "isolated app"); in registerForNotifications() 553 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in registerForNotifications() [all …]
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperAidlTest.cpp | 156 Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))); in TEST_F() 159 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 195 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 216 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F() 217 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 233 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 248 Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F() 249 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 270 .WillRepeatedly(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))); in TEST_F() 288 Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))); in TEST_F() [all …]
|
D | VibratorManagerHalWrapperAidlTest.cpp | 155 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( in TEST_F() 263 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_TRANSACTION_FAILED))) in TEST_F() 264 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_TRANSACTION_FAILED))) in TEST_F() 293 Return(Status::fromExceptionCode(Status::Exception::EX_UNSUPPORTED_OPERATION))) in TEST_F() 294 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F() 313 .WillOnce(Return(Status::fromExceptionCode(Status::Exception::EX_SECURITY))) in TEST_F() [all …]
|
D | VibratorHalWrapperHidlV1_3Test.cpp | 98 return hardware::Return<V1_0::Status>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 172 return hardware::Return<bool>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 181 return hardware::Return<bool>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 216 return hardware::Return<bool>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 225 return hardware::Return<bool>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 357 return hardware::Return<void>(hardware::Status::fromExceptionCode(-1)); in TEST_F()
|
D | VibratorHalWrapperHidlV1_0Test.cpp | 83 return hardware::Return<void>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 113 return hardware::Return<V1_0::Status>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 140 return hardware::Return<V1_0::Status>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 169 return hardware::Return<V1_0::Status>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 197 return hardware::Return<bool>(hardware::Status::fromExceptionCode(-1)); in TEST_F() 284 return hardware::Return<void>(hardware::Status::fromExceptionCode(-1)); in TEST_F()
|
/frameworks/native/libs/gui/include/gui/ |
D | AidlStatusUtil.h | 100 return Status::fromExceptionCode(Status::EX_SECURITY, emptyIfNull); 102 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, emptyIfNull); 104 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, emptyIfNull);
|
D | SchedulingPolicy.h | 29 return binder::Status::fromExceptionCode(EX_ILLEGAL_STATE); in getSchedulingPolicy() 34 return binder::Status::fromExceptionCode(EX_ILLEGAL_STATE); in getSchedulingPolicy()
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/ |
D | StreamOutMock.h | 43 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getRecommendedLatencyModes() 46 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setLatencyMode() 49 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in selectPresentation()
|
D | ModuleMock.h | 98 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in generateHwAvSyncId() 102 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getVendorParameters() 105 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setVendorParameters() 114 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getAAudioMixerBurstCount() 117 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getAAudioHardwareBurstMinUsec()
|
D | StreamCommonMock.h | 30 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getVendorParameters() 33 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in setVendorParameters()
|
/frameworks/native/include/binder/ |
D | Status.h | 89 static Status fromExceptionCode(int32_t exceptionCode); 90 static Status fromExceptionCode(int32_t exceptionCode, 92 static Status fromExceptionCode(int32_t exceptionCode,
|
/frameworks/native/libs/binder/include/binder/ |
D | Status.h | 89 static Status fromExceptionCode(int32_t exceptionCode); 90 static Status fromExceptionCode(int32_t exceptionCode, 92 static Status fromExceptionCode(int32_t exceptionCode,
|
/frameworks/base/libs/services/src/os/ |
D | DropBoxManager.cpp | 193 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()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 84 return Status::fromExceptionCode( in checkIncidentPermissions() 91 return Status::fromExceptionCode( in checkIncidentPermissions() 102 return Status::fromExceptionCode( in checkIncidentPermissions() 112 return Status::fromExceptionCode( in checkIncidentPermissions() 321 return Status::fromExceptionCode(Status::EX_SECURITY, "Only ROOT or SHELL allowed"); in reportIncidentToDumpstate() 360 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerSection() 366 return Status::fromExceptionCode(Status::EX_SECURITY); in registerSection() 384 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterSection() 391 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in unregisterSection() 396 return Status::fromExceptionCode(Status::EX_SECURITY, in systemRunning()
|
/frameworks/native/libs/binder/ |
D | Status.cpp | 26 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()
|
/frameworks/native/services/memtrackproxy/ |
D | MemtrackProxy.cpp | 112 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in getMemory() 125 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getMemory() 149 ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in getMemory()
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperAidlTest.cpp | 124 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 127 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 199 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 202 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 291 ndk::ScopedAStatus::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT)))); in TEST_F() 333 ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION)))); in TEST_F()
|
/frameworks/native/libs/binder/tests/ |
D | binderStatusUnitTest.cpp | 25 Status status = Status::fromExceptionCode(Status::EX_NULL_POINTER); in TEST()
|
/frameworks/native/libs/binder/ndk/ |
D | status.cpp | 30 return new AStatus(Status::fromExceptionCode(PruneException(exception))); in AStatus_fromExceptionCode() 34 return new AStatus(Status::fromExceptionCode(PruneException(exception), message)); in AStatus_fromExceptionCodeWithMessage()
|
/frameworks/av/media/liberror/include/error/ |
D | BinderResult.h | 35 return base::unexpected{binder::Status::fromExceptionCode(exceptionCode, s)}; in unexpectedExceptionCode()
|
D | BinderStatusMatcher.h | 35 return BinderStatusMatcher(binder::Status::fromExceptionCode(ex)); in hasException()
|
/frameworks/av/services/audiopolicy/permission/tests/ |
D | ValidatedAttributionSourceStateTest.cpp | 106 .WillOnce(Return(unexpected{Status::fromExceptionCode(EX_ILLEGAL_STATE)})); in TEST_F() 119 .WillOnce(Return(unexpected{Status::fromExceptionCode(EX_ILLEGAL_ARGUMENT)})); in TEST_F()
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | StatusFuzz.cpp | 40 binder::Status status = binder::Status::fromExceptionCode(exceptionCode, message); in LLVMFuzzerTestOneInput()
|
/frameworks/native/cmds/lshal/ |
D | Timeout.h | 56 return Status::fromExceptionCode(Status::Exception::EX_ILLEGAL_STATE, "Illegal future_status"); in timeoutIPC()
|
/frameworks/av/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 255 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in connectExternalDevice() 279 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in disconnectExternalDevice() 305 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in getAudioPort() 359 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in setAudioPatch() 377 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in setAudioPortConfig() 387 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in setAudioPortConfig() 398 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in resetAudioPatch() 406 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in resetAudioPortConfig() 533 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in parseVendorParameterIds() 541 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in parseVendorParameterIds() [all …]
|