/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperAidlTest.cpp | 84 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))); in TEST_F() 87 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))); in TEST_F() 123 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))); in TEST_F() 143 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))) in TEST_F() 144 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))); in TEST_F() 162 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))); in TEST_F() 178 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))) in TEST_F() 179 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))); in TEST_F() 201 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))); in TEST_F() 220 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))); in TEST_F() [all …]
|
D | VibratorManagerHalWrapperAidlTest.cpp | 114 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))) in TEST_F() 115 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))) in TEST_F() 151 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))) in TEST_F() 152 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))) in TEST_F() 217 Return(ndk::ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED)))) in TEST_F() 224 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED))) in TEST_F() 225 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED))) in TEST_F() 255 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION))) in TEST_F() 256 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))) in TEST_F() 275 .WillOnce(Return(ndk::ScopedAStatus::fromExceptionCode(EX_SECURITY))) in TEST_F() [all …]
|
D | VibratorControllerTest.cpp | 41 return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); in __anonc94ddda40202() 44 return ndk::ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED); in __anonc94ddda40302() 50 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in __anonc94ddda40502()
|
/frameworks/native/cmds/servicemanager/ |
D | ServiceManager.cpp | 519 return Status::fromExceptionCode(Status::EX_SECURITY, "App UIDs cannot add services."); in addService() 528 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Null binder."); in addService() 533 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in addService() 539 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "VINTF declaration error."); in addService() 552 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't linkToDeath."); in addService() 612 return Status::fromExceptionCode(Status::EX_SECURITY, "SELinux denied."); in listServices() 657 return Status::fromExceptionCode(Status::EX_SECURITY, "isolated app"); in registerForNotifications() 662 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, "Invalid service name."); in registerForNotifications() 666 return Status::fromExceptionCode(Status::EX_NULL_POINTER, "Null callback."); in registerForNotifications() 673 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, "Couldn't link to death."); in registerForNotifications() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | SchedulingPolicy.h | 29 return binder::Status::fromExceptionCode(EX_ILLEGAL_STATE); in getSchedulingPolicy() 34 return binder::Status::fromExceptionCode(EX_ILLEGAL_STATE); in getSchedulingPolicy()
|
D | AidlUtil.h | 102 return Status::fromExceptionCode(Status::EX_SECURITY, emptyIfNull); 104 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, emptyIfNull); 106 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE, emptyIfNull);
|
/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/libs/binder/include/binder/ |
D | Status.h | 92 static Status fromExceptionCode(int32_t exceptionCode); 93 static Status fromExceptionCode(int32_t exceptionCode, 95 static Status fromExceptionCode(int32_t exceptionCode,
|
/frameworks/native/include/binder/ |
D | Status.h | 92 static Status fromExceptionCode(int32_t exceptionCode); 93 static Status fromExceptionCode(int32_t exceptionCode, 95 static Status fromExceptionCode(int32_t exceptionCode,
|
/frameworks/native/libs/binder/ |
D | BackendUnifiedServiceManager.cpp | 356 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in addService() 376 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in registerForNotifications() 384 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in unregisterForNotifications() 431 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in updatableViaApex() 439 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in getUpdatableNames() 447 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in getConnectionInfo() 456 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in registerClientCallback() 464 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in tryUnregisterService() 472 return Status::fromExceptionCode(Status::EX_UNSUPPORTED_OPERATION, in getServiceDebugInfo()
|
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/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 | 88 return Status::fromExceptionCode( in checkIncidentPermissions() 95 return Status::fromExceptionCode( in checkIncidentPermissions() 106 return Status::fromExceptionCode( in checkIncidentPermissions() 116 return Status::fromExceptionCode( in checkIncidentPermissions() 325 return Status::fromExceptionCode(Status::EX_SECURITY, "Only ROOT or SHELL allowed"); in reportIncidentToDumpstate() 364 return Status::fromExceptionCode(Status::EX_NULL_POINTER); in registerSection() 370 return Status::fromExceptionCode(Status::EX_SECURITY); in registerSection() 388 return Status::fromExceptionCode(Status::EX_SECURITY); in unregisterSection() 395 return Status::fromExceptionCode(Status::EX_ILLEGAL_STATE); in unregisterSection() 400 return Status::fromExceptionCode(Status::EX_SECURITY, in systemRunning()
|
/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/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/base/native/android/tests/thermal/ |
D | NativeThermalUnitTest.cpp | 187 Status::fromExceptionCode(binder::Status::Exception::EX_ILLEGAL_ARGUMENT))); in TEST_F() 197 .WillOnce(Return(Status::fromExceptionCode( in TEST_F() 224 Status::fromExceptionCode(binder::Status::Exception::EX_TRANSACTION_FAILED))); in TEST_F() 289 Status::fromExceptionCode(binder::Status::Exception::EX_TRANSACTION_FAILED))); in TEST_F() 356 Status::fromExceptionCode(binder::Status::Exception::EX_TRANSACTION_FAILED))); in TEST_F() 411 Status::fromExceptionCode(binder::Status::Exception::EX_TRANSACTION_FAILED))); in TEST_F()
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperAidlTest.cpp | 128 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 131 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 203 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 206 .WillOnce(Return(testing::ByMove(ndk::ScopedAStatus::fromExceptionCode(-1)))); in TEST_F() 295 ndk::ScopedAStatus::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT)))); in TEST_F() 337 ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION)))); in TEST_F()
|
/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/native/libs/binder/tests/unit_fuzzers/ |
D | StatusFuzz.cpp | 40 binder::Status status = binder::Status::fromExceptionCode(exceptionCode, message); in LLVMFuzzerTestOneInput()
|
/frameworks/av/media/libaudiopermission/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/cmds/lshal/ |
D | Timeout.h | 56 return Status::fromExceptionCode(Status::Exception::EX_ILLEGAL_STATE, "Illegal future_status"); in timeoutIPC()
|