/frameworks/native/libs/binder/ |
D | Status.cpp | 26 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() argument 27 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode() 28 return Status(exceptionCode, FAILED_TRANSACTION); in fromExceptionCode() 30 return Status(exceptionCode, OK); in fromExceptionCode() 33 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument 35 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode() 36 return Status(exceptionCode, FAILED_TRANSACTION, message); in fromExceptionCode() 38 return Status(exceptionCode, OK, message); in fromExceptionCode() 41 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument 43 return fromExceptionCode(exceptionCode, String8(message)); in fromExceptionCode() [all …]
|
D | IActivityManager.cpp | 46 int32_t exceptionCode = reply.readExceptionCode(); in openContentUri() local 47 if (!exceptionCode) { in openContentUri() 56 String8(stringUri).string(), exceptionCode); in openContentUri()
|
D | IServiceManager.cpp | 320 return status.exceptionCode(); in addService()
|
/frameworks/av/media/libmedia/ |
D | IMediaHTTPConnection.cpp | 70 int32_t exceptionCode = reply.readExceptionCode(); in connect() local 72 if (exceptionCode) { in connect() 104 int32_t exceptionCode = reply.readExceptionCode(); in readAt() local 106 if (exceptionCode) { in readAt() 148 int32_t exceptionCode = reply.readExceptionCode(); in getSize() local 150 if (exceptionCode) { in getSize() 166 int32_t exceptionCode = reply.readExceptionCode(); in getMIMEType() local 168 if (exceptionCode) { in getMIMEType() 186 int32_t exceptionCode = reply.readExceptionCode(); in getUri() local 188 if (exceptionCode) { in getUri()
|
/frameworks/native/libs/binder/include/binder/ |
D | Status.h | 88 static Status fromExceptionCode(int32_t exceptionCode); 89 static Status fromExceptionCode(int32_t exceptionCode, 91 static Status fromExceptionCode(int32_t exceptionCode, 105 static std::string exceptionToString(status_t exceptionCode); 134 int32_t exceptionCode() const { return mException; } in exceptionCode() function 149 Status(int32_t exceptionCode, int32_t errorCode); 150 Status(int32_t exceptionCode, int32_t errorCode, const String8& message);
|
/frameworks/native/include/binder/ |
D | Status.h | 88 static Status fromExceptionCode(int32_t exceptionCode); 89 static Status fromExceptionCode(int32_t exceptionCode, 91 static Status fromExceptionCode(int32_t exceptionCode, 105 static std::string exceptionToString(status_t exceptionCode); 134 int32_t exceptionCode() const { return mException; } in exceptionCode() function 149 Status(int32_t exceptionCode, int32_t errorCode); 150 Status(int32_t exceptionCode, int32_t errorCode, const String8& message);
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | StatusFuzz.cpp | 32 int32_t exceptionCode = fdp.ConsumeIntegral<int32_t>(); in LLVMFuzzerTestOneInput() local 40 binder::Status status = binder::Status::fromExceptionCode(exceptionCode, message); in LLVMFuzzerTestOneInput()
|
/frameworks/base/native/android/ |
D | thermal.cpp | 135 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in addListener() 168 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in removeListener() 181 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in getCurrentThermalStatus() 193 if (ret.exceptionCode() == binder::Status::EX_SECURITY) { in getThermalHeadroom()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_aidl_status_tests.cpp | 65 for (int exceptionCode : { in TEST() 82 ASSERT_NE(OK, statusTFromBinderStatus(Status::fromExceptionCode(exceptionCode))); in TEST()
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | CreateAppDataResult.aidl | 22 int exceptionCode;
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalAidlBenchmarks.cpp | 74 if (ret.exceptionCode() == binder::Status::Exception::EX_UNSUPPORTED_OPERATION) { in runBenchmark() 113 if (ret.exceptionCode() == binder::Status::Exception::EX_UNSUPPORTED_OPERATION) { in runSessionBenchmark() 167 if (ret.exceptionCode() == binder::Status::Exception::EX_UNSUPPORTED_OPERATION) { in BM_PowerHalAidlBenchmarks_createHintSession()
|
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 336 EXPECT_EQ(sm->registerForNotifications("foofoo", cb).exceptionCode(), in TEST() 351 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), in TEST() 360 EXPECT_EQ(sm->registerForNotifications("foo@foo", cb).exceptionCode(), in TEST() 367 EXPECT_EQ(sm->registerForNotifications("foofoo", nullptr).exceptionCode(), in TEST() 377 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), 0); in TEST() 385 EXPECT_EQ(sm->unregisterForNotifications("foofoo", cb).exceptionCode(), in TEST()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 134 ALOGE("%s server exception code: %d", __func__, txResult.exceptionCode()); in AMIDI_getDeviceInfo() 264 ALOGE("%s server exception code: %d", __func__, txResult.exceptionCode()); in AMIDI_openPort() 293 ALOGE("%s server exception code: %d", __func__, txResult.exceptionCode()); in AMIDI_closePort()
|
/frameworks/base/services/incremental/ |
D | IncrementalServiceValidation.cpp | 37 return status.exceptionCode() == binder::Status::EX_SERVICE_SPECIFIC in fromBinderStatus()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AidlConversionUtil.h | 307 static inline status_t statusTFromExceptionCode(int32_t exceptionCode) { 309 switch (exceptionCode) { 348 ?: statusTFromExceptionCode(status.exceptionCode()); // a service-side error with a
|
/frameworks/native/libs/binder/tests/ |
D | binderParcelUnitTest.cpp | 76 EXPECT_EQ(p.enforceNoDataAvail().exceptionCode(), Status::Exception::EX_BAD_PARCELABLE); in TEST() 78 EXPECT_EQ(p.enforceNoDataAvail().exceptionCode(), Status::Exception::EX_NONE); in TEST()
|
D | binderStabilityTest.cpp | 179 EXPECT_EQ(BAD_TYPE, server->sendAndCallBinder(binder).exceptionCode()); in TEST() 239 EXPECT_EQ(BAD_TYPE, server->sendAndCallBinder(binder).exceptionCode()); in TEST()
|
/frameworks/native/libs/binder/ndk/ |
D | status.cpp | 56 return PruneException(status->get().exceptionCode()); in AStatus_getExceptionCode()
|
/frameworks/av/services/camera/libcameraservice/common/aidl/ |
D | AidlProviderInfo.cpp | 68 auto exceptionCode = s.getExceptionCode(); in mapToStatusT() local 69 if (exceptionCode != EX_SERVICE_SPECIFIC) { in mapToStatusT() 70 return mapExceptionCodeToStatusT(exceptionCode); in mapToStatusT()
|
/frameworks/native/include/powermanager/ |
D | PowerHalWrapper.h | 49 if (status.exceptionCode() == binder::Status::EX_UNSUPPORTED_OPERATION) { in fromStatus()
|
/frameworks/native/services/powermanager/ |
D | PowerHalWrapper.cpp | 68 if (status.exceptionCode() == binder::Status::EX_UNSUPPORTED_OPERATION) { in fromStatus()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 250 result.exceptionCode = 0; in buildPlaceholderCreateAppDataResult() 396 if (result.exceptionCode == 0) { in execute()
|
/frameworks/native/libs/binder/rust/tests/ |
D | serialization.cpp | 431 ASSERT_EQ(status.exceptionCode(), binder::Status::EX_NULL_POINTER); in TEST_F()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.cpp | 738 ret.exceptionToString(ret.exceptionCode()).c_str()); in startPowerHintSession()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 45 if (status.exceptionCode() == binder::Status::EX_UNSUPPORTED_OPERATION || in fromStatus()
|