Home
last modified time | relevance | path

Searched refs:exceptionMessage (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/
DApplicationErrorReportTest.java53 crashInfo.exceptionMessage.length() < 50000); in testHugeExceptionMessageLeadsToReasonableReport()
66 String exceptionMessage = crashInfo.exceptionMessage; in testTruncationKeepsStartAndEndIntact() local
67 assertEquals("start", exceptionMessage.substring(0, "start".length())); in testTruncationKeepsStartAndEndIntact()
68 assertEquals("end", exceptionMessage.substring(exceptionMessage.length() - "end".length())); in testTruncationKeepsStartAndEndIntact()
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyStoreExceptionTest.java36 String exceptionMessage = exception.getMessage(); in testKeystoreMessageIsIncluded() local
37 assertTrue(exceptionMessage.contains(primaryMessage)); in testKeystoreMessageIsIncluded()
38 assertTrue(exceptionMessage.contains(keystoreMessage)); in testKeystoreMessageIsIncluded()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java315 public String exceptionMessage; field in ApplicationErrorReport.CrashInfo
363 exceptionMessage = tr.getMessage(); in CrashInfo()
374 exceptionMessage = msg; in CrashInfo()
400 exceptionMessage = sanitizeString(exceptionMessage); in CrashInfo()
435 exceptionMessage = in.readString(); in CrashInfo()
451 dest.writeString(exceptionMessage); in writeToParcel()
462 Slog.d("Error", "ERR: exMsg=" + exceptionMessage); in writeToParcel()
477 pw.println(prefix + "exceptionMessage: " + exceptionMessage); in dump()
/frameworks/base/libs/hwui/jni/
DBufferUtils.cpp82 const char* exceptionMessage = nullptr; in setIndirectData() local
94 exceptionMessage = "remaining() < size < needed"; in setIndirectData()
110 jniThrowException(env, exceptionType, exceptionMessage); in setIndirectData()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DTunerSessionHidlTest.java606 String exceptionMessage = "HAL service died."; in cancel_whenHalThrowsRemoteException_fails() local
607 doThrow(new RemoteException(exceptionMessage)).when(mHalTunerSessionMock).cancel(); in cancel_whenHalThrowsRemoteException_fails()
614 .that(thrown).hasMessageThat().contains(exceptionMessage); in cancel_whenHalThrowsRemoteException_fails()
643 String exceptionMessage = "HAL service died."; in getImage_whenHalThrowsException_fails() local
644 doThrow(new RemoteException(exceptionMessage)).when(mBroadcastRadioMock).getImage(anyInt()); in getImage_whenHalThrowsException_fails()
651 .that(thrown).hasMessageThat().contains(exceptionMessage); in getImage_whenHalThrowsException_fails()
861 String exceptionMessage = "HAL service died."; in setParameters_whenHalThrowsRemoteException_fails() local
862 doThrow(new RemoteException(exceptionMessage)).when(mHalTunerSessionMock) in setParameters_whenHalThrowsRemoteException_fails()
870 .that(thrown).hasMessageThat().contains(exceptionMessage); in setParameters_whenHalThrowsRemoteException_fails()
887 String exceptionMessage = "HAL service died."; in getParameters_whenServiceThrowsRemoteException_fails() local
[all …]
/frameworks/native/libs/permission/android/permission/
DPermissionChecker.cpp109 ALOGE("finishDataDelivery failed: %s", status.exceptionMessage().c_str()); in finishDataDeliveryFromDatasource()
127 ALOGE("checkPermission failed: %s", status.exceptionMessage().c_str()); in checkPermission()
/frameworks/native/cmds/installd/binder/android/os/
DCreateAppDataResult.aidl24 @utf8InCpp String exceptionMessage;
/frameworks/base/core/java/android/net/vcn/
DIVcnStatusCallback.aidl26 in String exceptionMessage); in onGatewayConnectionError() argument
DVcnManager.java743 @Nullable String exceptionMessage) { in onGatewayConnectionError() argument
744 final Throwable cause = createThrowableByClassName(exceptionClass, exceptionMessage); in onGatewayConnectionError()
/frameworks/base/test-junit/src/junit/framework/
DTestFailure.java52 public String exceptionMessage() { in exceptionMessage() method in TestFailure
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DTunerSessionTest.java627 String exceptionMessage = "HAL service died."; in cancel_whenHalThrowsRemoteException_fails() local
628 doThrow(new RemoteException(exceptionMessage)).when(mBroadcastRadioMock).cancel(); in cancel_whenHalThrowsRemoteException_fails()
635 .that(thrown).hasMessageThat().contains(exceptionMessage); in cancel_whenHalThrowsRemoteException_fails()
664 String exceptionMessage = "HAL service died."; in getImage_whenHalThrowsException_fails() local
665 doThrow(new RemoteException(exceptionMessage)).when(mBroadcastRadioMock) in getImage_whenHalThrowsException_fails()
673 .that(thrown).hasMessageThat().contains(exceptionMessage); in getImage_whenHalThrowsException_fails()
1140 String exceptionMessage = "HAL service died."; in setParameters_whenHalThrowsRemoteException_fails() local
1141 doThrow(new RemoteException(exceptionMessage)).when(mBroadcastRadioMock) in setParameters_whenHalThrowsRemoteException_fails()
1149 .that(thrown).hasMessageThat().contains(exceptionMessage); in setParameters_whenHalThrowsRemoteException_fails()
1166 String exceptionMessage = "HAL service died."; in getParameters_whenServiceThrowsRemoteException_fails() local
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DCameraServiceProxyWrapper.cpp325 status.exceptionMessage().c_str()); in logFeatureCombinationInternal()
338 status.exceptionMessage().c_str()); in getRotateAndCropOverride()
353 status.exceptionMessage().c_str()); in getAutoframingOverride()
496 status.exceptionMessage().c_str()); in isCameraDisabled()
/frameworks/av/services/tuner/
DTunerHelper.cpp59 ALOGE("%s: hasSystemFeature failed: %s", __func__, status.exceptionMessage().c_str()); in checkTunerFeature()
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_status_tests.cpp92 ASSERT_EQ(message, binderStatus.exceptionMessage()); in TEST()
/frameworks/native/libs/binder/include/binder/
DStatus.h136 const String8& exceptionMessage() const { return mMessage; } in exceptionMessage() function
/frameworks/native/include/binder/
DStatus.h136 const String8& exceptionMessage() const { return mMessage; } in exceptionMessage() function
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java685 @Nullable String exceptionMessage); in onGatewayConnectionError() argument
713 @Nullable String exceptionMessage) { in onGatewayConnectionError() argument
715 gatewayConnectionName, errorCode, exceptionClass, exceptionMessage); in onGatewayConnectionError()
DVcnGatewayConnection.java1317 final String exceptionMessage; in notifyStatusCallbackForSessionClosed() local
1322 exceptionMessage = exception.getMessage(); in notifyStatusCallbackForSessionClosed()
1327 exceptionMessage = exception.getCause().getMessage(); in notifyStatusCallbackForSessionClosed()
1331 exceptionMessage = in notifyStatusCallbackForSessionClosed()
1344 + exceptionMessage); in notifyStatusCallbackForSessionClosed()
1350 exceptionMessage); in notifyStatusCallbackForSessionClosed() local
/frameworks/av/media/utils/
DServiceUtilities.cpp525 __func__, status.exceptionMessage().c_str()); in getInfo()
568 __func__, status.exceptionMessage().c_str()); in getInfo()
576 __func__, status.exceptionMessage().c_str()); in getInfo()
/frameworks/native/libs/binder/ndk/
Dstatus.cpp66 return status->get().exceptionMessage().c_str(); in AStatus_getMessage()
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java84 ci.exceptionMessage = Os.strsignal(mSignal); in run()
/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp434 ASSERT_EQ(status.exceptionMessage(), "a status message"); in TEST_F()
438 ASSERT_EQ(status.exceptionMessage(), "a service-specific error"); in TEST_F()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt2557 val exceptionMessage = buildString { in <lambda>() constant
2569 throw SecurityException(exceptionMessage) in <lambda>()
2579 val exceptionMessage = buildString { in <lambda>() constant
2587 throw SecurityException(exceptionMessage) in <lambda>()
2608 val exceptionMessage = buildString { in <lambda>() constant
2618 throw SecurityException(exceptionMessage) in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java254 result.exceptionMessage = null; in buildPlaceholderCreateAppDataResult()
404 new InstallerException(result.exceptionMessage)); in execute()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java1383 @Nullable String exceptionMessage); in onGatewayConnectionError() argument
1515 @Nullable String exceptionMessage) { in onGatewayConnectionError() argument
1531 exceptionMessage); in onGatewayConnectionError()

12