Home
last modified time | relevance | path

Searched refs:getMessage (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DSingleFieldBuilderV3Test.java56 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testBasicUseAndInvalidations()
87 assertEquals(0, builder.getMessage().getOptionalInt32()); in testSetMessage()
93 assertEquals(1, builder.getMessage().getOptionalInt32()); in testSetMessage()
97 assertEquals(2, builder.getMessage().getOptionalInt32()); in testSetMessage()
100 assertSame(builder.getMessage(), builder.getMessage()); in testSetMessage()
113 assertNotSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear()
115 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear()
118 assertNotSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear()
120 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testClear()
135 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testMerge()
[all …]
DRepeatedFieldBuilderV3Test.java56 assertEquals(0, builder.getMessage(0).getOptionalInt32()); in testBasicUse()
57 assertEquals(1, builder.getMessage(1).getOptionalInt32()); in testBasicUse()
77 assertEquals(0, builder.getMessage(0).getOptionalInt32()); in testGoingBackAndForth()
78 assertEquals(1, builder.getMessage(1).getOptionalInt32()); in testGoingBackAndForth()
110 assertEquals(0, builder.getMessage(0).getOptionalInt32()); in testVariousMethods()
111 assertEquals(1, builder.getMessage(1).getOptionalInt32()); in testVariousMethods()
112 assertEquals(2, builder.getMessage(2).getOptionalInt32()); in testVariousMethods()
113 assertEquals(3, builder.getMessage(3).getOptionalInt32()); in testVariousMethods()
124 assertEquals(0, builder.getMessage(0).getOptionalInt32()); in testVariousMethods()
125 assertEquals(1, builder.getMessage(1).getOptionalInt32()); in testVariousMethods()
[all …]
DCheckUtf8Test.java70 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8()
79 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8()
88 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRepeatedStringWithBadUtf8()
99 assertEquals("Protocol message had invalid UTF-8.", exception.getMessage()); in testParseRequiredStringWithBadUtf8()
108 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRequiredStringWithBadUtf8Size()
117 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildOptionalStringWithBadUtf8Size()
126 assertEquals("Byte string is not UTF-8.", exception.getMessage()); in testBuildRepeatedStringWithBadUtf8Size()
137 assertEquals("Protocol message had invalid UTF-8.", exception.getMessage()); in testParseRequiredStringWithBadUtf8Size()
/frameworks/base/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/
DLayersTraceSubjectTest.java55 .that(e.getMessage()).contains("layers_trace_emptyregion.pb"); in testCanDetectEmptyRegionFromLayerTrace()
57 .that(e.getMessage()).contains("0h38m28s8ms"); in testCanDetectEmptyRegionFromLayerTrace()
59 .that(e.getMessage()).contains("coversRegion"); in testCanDetectEmptyRegionFromLayerTrace()
61 .that(e.getMessage()).contains("Region to test: " + displayRect); in testCanDetectEmptyRegionFromLayerTrace()
63 .that(e.getMessage()).contains("first empty point: 0, 99"); in testCanDetectEmptyRegionFromLayerTrace()
77 .that(e.getMessage()).contains("layers_trace_invalid_layer_visibility.pb"); in testCanDetectIncorrectVisibilityFromLayerTrace()
79 .that(e.getMessage()).contains("70h13m14s303ms"); in testCanDetectIncorrectVisibilityFromLayerTrace()
81 .that(e.getMessage()).contains("!isVisible"); in testCanDetectIncorrectVisibilityFromLayerTrace()
83 .that(e.getMessage()).contains( in testCanDetectIncorrectVisibilityFromLayerTrace()
/frameworks/base/core/java/android/se/omapi/
DSession.java85 throw new IllegalStateException(e.getMessage()); in getATR()
215 throw new IOException(e.getMessage()); in openBasicChannel()
217 throw new NoSuchElementException(e.getMessage()); in openBasicChannel()
219 throw new IllegalStateException(e.getMessage()); in openBasicChannel()
222 throw new IllegalStateException(e.getMessage()); in openBasicChannel()
322 throw new IOException(e.getMessage()); in openLogicalChannel()
324 throw new NoSuchElementException(e.getMessage()); in openLogicalChannel()
326 throw new IllegalStateException(e.getMessage()); in openLogicalChannel()
329 throw new IllegalStateException(e.getMessage()); in openLogicalChannel()
DChannel.java110 throw new IllegalStateException(e.getMessage()); in isBasicChannel()
174 throw new IOException(e.getMessage()); in transmit()
176 throw new IllegalStateException(e.getMessage()); in transmit()
209 throw new IllegalStateException(e.getMessage()); in getSelectResponse()
252 throw new IOException(e.getMessage()); in selectNext()
254 throw new IllegalStateException(e.getMessage()); in selectNext()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanException.java77 e.getMessage() != null ? e.getMessage() : "Feature not supported", e); in rethrowFromServiceSpecificException()
81 e.getMessage() != null ? e.getMessage() : "NCP problem", e); in rethrowFromServiceSpecificException()
85 e.getMessage() != null ? e.getMessage() : "Invalid argument", e); in rethrowFromServiceSpecificException()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java108 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
116 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
128 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
136 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
149 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
157 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
184 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
192 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
236 assertTrue(ex.getMessage().contains("getImei")); in testGetImeiWithOutPermission()
244 assertTrue(ex.getMessage().contains("getImei")); in testGetImeiWithOutPermission()
[all …]
/frameworks/base/test-base/src/android/test/
DAndroidTestCase.java109 assertNotNull("security exception's error message.", expected.getMessage()); in assertActivityRequiresPermission()
111 expected.getMessage().contains(permission)); in assertActivityRequiresPermission()
128 assertNotNull("security exception's error message.", expected.getMessage()); in assertReadingContentUriRequiresPermission()
130 expected.getMessage().contains(permission)); in assertReadingContentUriRequiresPermission()
147 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriRequiresPermission()
149 + expected.getMessage() + "\".", in assertWritingContentUriRequiresPermission()
150 expected.getMessage().contains(permission)); in assertWritingContentUriRequiresPermission()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java124 throw new ServiceSpecificException(ERROR_SERVICE_INTERNAL_ERROR, e.getMessage()); in getInstance()
177 throw new ServiceSpecificException(ERROR_SERVICE_INTERNAL_ERROR, e.getMessage()); in RecoverableKeyStoreManager()
220 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in initRecoveryService()
248 throw new ServiceSpecificException(ERROR_INVALID_CERTIFICATE, e.getMessage()); in initRecoveryService()
283 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in initRecoveryService()
314 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in initRecoveryServiceWithSigFile()
325 throw new ServiceSpecificException(ERROR_INVALID_CERTIFICATE, e.getMessage()); in initRecoveryServiceWithSigFile()
503 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in startRecoverySession()
530 throw new ServiceSpecificException(ERROR_SERVICE_INTERNAL_ERROR, e.getMessage()); in startRecoverySession()
532 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in startRecoverySession()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsConfigCompatAdapter.java48 + e.getMessage()); in setConfig()
61 + e.getMessage()); in setConfig()
74 Log.w(TAG, "getConfigInt: item=" + item + "failed: " + e.getMessage()); in getConfigInt()
84 Log.w(TAG, "getConfigInt: item=" + item + "failed: " + e.getMessage()); in getConfigString()
/frameworks/base/telephony/java/android/telephony/ims/
DImsException.java74 super(getMessage(message, CODE_ERROR_UNSPECIFIED)); in ImsException()
82 super(getMessage(message, code)); in ImsException()
94 super(getMessage(message, code), cause); in ImsException()
105 private static String getMessage(String message, int code) { in getMessage() method in ImsException
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DSigXmlTest.java74 assertThat(expected.getMessage()).contains("signature is invalid"); in parseAndVerifyFileSignature_throwsIfInvalidSignature()
103 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfNoSignerCert()
115 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfTwoSignerCerts()
127 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfNoSignatureValue()
139 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfTwoSignatureValues()
/frameworks/base/core/java/android/ddm/
DDdmHandleProfiling.java117 return createFailChunk(1, re.getMessage()); in handleMPRS()
132 + re.getMessage()); in handleMPRE()
158 return createFailChunk(1, re.getMessage()); in handleMPSS()
175 + re.getMessage()); in handleMPSEOrSPSE()
176 return createFailChunk(1, re.getMessage()); in handleMPSEOrSPSE()
212 return createFailChunk(1, re.getMessage()); in handleSPSS()
DDdmHandleViewDebug.java232 + e.getMessage()); in dumpHierarchy()
250 + e.getMessage()); in captureLayers()
272 + e.getMessage()); in dumpTheme()
285 + e.getMessage()); in captureView()
381 Log.e(TAG, "No such method: " + e.getMessage()); in invokeViewMethod()
383 "No such method: " + e.getMessage()); in invokeViewMethod()
389 Log.e(TAG, "Exception while invoking method: " + e.getCause().getMessage()); in invokeViewMethod()
390 String msg = e.getCause().getMessage(); in invokeViewMethod()
409 + param + ":" + e.getMessage()); in setLayoutParameter()
422 return createFailChunk(1, "Unexpected error while profiling view: " + e.getMessage()); in profileView()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java179 sLogger.severe("Failed to remove config: " + e.getMessage()); in updateConfig()
194 + e.getMessage()); in updateConfig()
204 sLogger.severe("Failed to write temp config file: " + e.getMessage()); in updateConfig()
214 sLogger.severe("Failed to update config: " + e.getMessage()); in updateConfig()
248 sLogger.severe("Failed to get report list: " + e.getMessage()); in cmdGetData()
269 + e.getMessage()); in cmdGetData()
292 sLogger.severe("Failed to get report list: " + e.getMessage()); in cmdClear()
315 sLogger.severe("Failed to remove config: " + e.getMessage()); in cmdRemove()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DProcessingException.java73 ERROR, getMessage(), mElement, mAnnotationMirror, mAnnotationValue); in print()
75 messager.printMessage(ERROR, getMessage(), mElement, mAnnotationMirror); in print()
78 messager.printMessage(ERROR, getMessage(), mElement); in print()
81 messager.printMessage(ERROR, getMessage()); in print()
/frameworks/base/core/java/android/app/
DStatsManager.java120 throw new StatsUnavailableException(e.getMessage(), e); in addConfig()
156 throw new StatsUnavailableException(e.getMessage(), e); in removeConfig()
225 throw new StatsUnavailableException(e.getMessage(), e); in setBroadcastSubscriber()
279 throw new StatsUnavailableException(e.getMessage(), e); in setFetchReportsOperation()
319 throw new StatsUnavailableException(e.getMessage(), e); in setActiveConfigsChangedOperation()
357 throw new StatsUnavailableException(e.getMessage(), e); in getReports()
394 throw new StatsUnavailableException(e.getMessage(), e); in getStatsMetadata()
470 throw new StatsUnavailableException(e.getMessage(), e); in setPullerCallback()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java64 default Notification.MessagingStyle.Message getMessage() { in getMessage() method
65 return getState().getMessage(); in getMessage()
69 Notification.MessagingStyle.Message ownMessage = getMessage(); in sameAs()
96 return sameAs(message.getMessage()); in sameAs()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLastMileLogger.java102 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush(); in enableTracing()
110 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush(); in disableTracing()
118 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush(); in readTrace()
143 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush(); in ensureFailSafeIsArmed()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java124 Log.e(TAG, "Can't create session for " + packageName + ": " + ioe.getMessage()); in install()
135 Log.e(TAG, "Can't open session for " + packageName + ": " + se.getMessage()); in install()
153 + e.getMessage()); in install()
172 Log.e(TAG, "Stale open session for " + packageName + ": " + ioe.getMessage()); in getSession()
175 Log.e(TAG, "Stale open session for " + packageName + ": " + se.getMessage()); in getSession()
192 Log.w(TAG, "IOException opening old session for " + ioe.getMessage() in getSession()
244 + e.getMessage()); in closeSession()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DTagNotFoundException.java35 public String getMessage() { in getMessage() method in TagNotFoundException
36 return super.getMessage() + " (tag=" + mTag + ")"; in getMessage()
DInvalidAsn1DataException.java42 public String getMessage() { in getMessage() method in InvalidAsn1DataException
43 return super.getMessage() + " (tag=" + mTag + ")"; in getMessage()
/frameworks/base/sax/java/android/sax/
DBadXmlException.java31 public String getMessage() { in getMessage() method in BadXmlException
32 return "Line " + getLineNumber() + ": " + super.getMessage(); in getMessage()
/frameworks/base/test-runner/src/android/test/
DComparisonFailure.java32 public String getMessage() { in getMessage() method in ComparisonFailure
33 return mComparison.getMessage(); in getMessage()

12345678910>>...17