/aosp12/art/test/201-built-in-except-detail-messages/src/ |
H A D | Main.java | 111 ex.getMessage()); in arrayStore() 121 ex.getMessage()); in arrayStore() 131 ex.getMessage()); in arrayStore() 140 ex.getMessage()); in arrayStore() 268 assertEquals("package.Class", ex.getMessage()); in classNotFound() 285 assertEquals("-123", ex.getMessage()); in negativeArraySize() 362 expected.getMessage()); in reflection() 390 expected.getMessage()); in reflection() 415 iae.getMessage()); in reflection() 423 iae.getMessage()); in reflection() [all …]
|
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/ |
H A D | CarAudioManagerPermissionTest.java | 66 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolumePermission() 73 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolumeWithZonePermission() 80 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolumePermission() 87 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolumeWithZonePermission() 94 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMinVolumePermission() 101 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMinVolumeWithZonePermission() 108 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupVolumePermission() 115 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupVolumeWithZonePermission() 122 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setFadeTowardFrontPermission() 129 assertThat(e.getMessage()).contains(PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setBalanceTowardRightPermission() [all …]
|
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/user/ |
H A D | CarUserManagerPermissionTest.java | 75 assertThat(e.getMessage()).contains(CREATE_USERS); in testSwitchUserPermission() 76 assertThat(e.getMessage()).contains(MANAGE_USERS); in testSwitchUserPermission() 83 assertThat(e.getMessage()).contains(CREATE_USERS); in testUpdatePreCreatedUserPermission() 84 assertThat(e.getMessage()).contains(MANAGE_USERS); in testUpdatePreCreatedUserPermission() 91 assertThat(e.getMessage()).contains(CREATE_USERS); in testCreateUserPermission() 92 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCreateUserPermission() 100 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCannotCreateAdminUserWithoutManageUsersPermission() 110 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCannotCreateAdminUserWithTypeWithoutManageUsersPermission() 118 assertThat(e.getMessage()).contains(CREATE_USERS); in testRemoveUserPermission() 119 assertThat(e.getMessage()).contains(MANAGE_USERS); in testRemoveUserPermission() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/ |
H A D | ImsMmTelManager.java | 668 throw new RuntimeException(e.getMessage()); in isAdvancedCallingSettingEnabled() 714 throw new RuntimeException(e.getMessage()); in setAdvancedCallingSettingEnabled() 876 throw new RuntimeException(e.getMessage()); in isVtSettingEnabled() 906 throw new RuntimeException(e.getMessage()); in setVtSettingEnabled() 950 throw new RuntimeException(e.getMessage()); in isVoWiFiSettingEnabled() 981 throw new RuntimeException(e.getMessage()); in setVoWiFiSettingEnabled() 1126 throw new RuntimeException(e.getMessage()); in isVoWiFiRoamingSettingEnabled() 1158 throw new RuntimeException(e.getMessage()); in setVoWiFiRoamingSettingEnabled() 1195 throw new RuntimeException(e.getMessage()); in setVoWiFiNonPersistent() 1244 throw new RuntimeException(e.getMessage()); in getVoWiFiModeSetting() [all …]
|
/aosp12/frameworks/base/core/java/android/se/omapi/ |
H A D | Session.java | 85 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()
|
H A D | Channel.java | 110 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()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneSubInfoControllerTest.java | 210 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission() 218 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission() 231 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission() 239 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission() 252 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission() 260 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission() 293 assertTrue(ex.getMessage().contains("getImei")); in testGetImeiWithOutPermission() 301 assertTrue(ex.getMessage().contains("getImei")); in testGetImeiWithOutPermission() 314 assertTrue(ex.getMessage().contains("getImei")); in testGetImeiWithOutPermission() 322 assertTrue(ex.getMessage().contains("getImei")); in testGetImeiWithOutPermission() [all …]
|
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/admin/ |
H A D | CarDevicePolicyManagerPermissionTest.java | 66 assertThat(e.getMessage()).contains(CREATE_USERS); in testRemoveUserPermission() 67 assertThat(e.getMessage()).contains(MANAGE_USERS); in testRemoveUserPermission() 74 assertThat(e.getMessage()).contains(CREATE_USERS); in testCreateUserPermission() 75 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCreateUserPermission() 82 assertThat(e.getMessage()).contains(CREATE_USERS); in testStartUserInBackgroundPermission() 83 assertThat(e.getMessage()).contains(MANAGE_USERS); in testStartUserInBackgroundPermission() 90 assertThat(e.getMessage()).contains(CREATE_USERS); in testStopUserPermission() 91 assertThat(e.getMessage()).contains(MANAGE_USERS); in testStopUserPermission()
|
/aosp12/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | LowpanException.java | 77 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()
|
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/power/ |
H A D | CarPowerManagerPermissionTest.java | 66 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testGetPowerState() 74 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testRequestShutdownOnNextSuspend() 82 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testScheduleNextWakeupTime() 90 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testSetListener() 98 assertThat(e.getMessage()).contains(PERMISSION_CAR_POWER); in testSetListenerWithCompletion() 106 assertThat(e.getMessage()).contains(PERMISSION_READ_CAR_POWER_POLICY); in testGetCurrentPowerPolicy() 114 assertThat(e.getMessage()).contains(PERMISSION_CONTROL_CAR_POWER_POLICY); in testApplyPowerPolicy() 125 assertThat(e.getMessage()).contains(PERMISSION_READ_CAR_POWER_POLICY); in testAddPowerPolicyChangeListener()
|
/aosp12/frameworks/base/test-base/src/android/test/ |
H A D | AndroidTestCase.java | 108 assertNotNull("security exception's error message.", expected.getMessage()); in assertActivityRequiresPermission() 110 expected.getMessage().contains(permission)); in assertActivityRequiresPermission() 127 assertNotNull("security exception's error message.", expected.getMessage()); in assertReadingContentUriRequiresPermission() 129 expected.getMessage().contains(permission)); in assertReadingContentUriRequiresPermission() 146 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriRequiresPermission() 148 + expected.getMessage() + "\".", in assertWritingContentUriRequiresPermission() 149 expected.getMessage().contains(permission)); in assertWritingContentUriRequiresPermission()
|
/aosp12/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | Slogf.java | 161 v(tag, getMessage(format, args)); in v() 176 d(tag, getMessage(format, args)); in d() 191 i(tag, getMessage(format, args)); in i() 206 w(tag, getMessage(format, args)); in w() 221 w(tag, getMessage(format, args), exception); in w() 235 e(tag, getMessage(format, args)); in e() 250 e(tag, getMessage(format, args), exception); in e() 257 wtf(tag, getMessage(format, args)); in wtf() 265 wtf(tag, getMessage(format, args), exception); in wtf() 268 private static String getMessage(String format, @Nullable Object... args) { in getMessage() method in Slogf
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
H A D | SetupSkipDialogTest.java | 58 shadowAlertDialog.getMessage()); in frpMessages_areShownCorrectly_whenNotSupported() 73 shadowAlertDialog.getMessage()); in frpMessages_areShownCorrectly_whenSupported() 87 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 102 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 117 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() 132 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly() 147 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly() 162 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly() 178 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPinSetupForBiometrics_shouldShownCorrectly() 193 assertThat(shadowAlertDialog.getMessage()).isEqualTo( in dialogMessage_whenSkipPasswordSetupForBiometrics_shouldShownCorrectly() [all …]
|
/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/telemetry/ |
H A D | CarTelemetryManagerPermissionTest.java | 74 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testSetListener() 82 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testClearListener() 91 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testAddMetricsConfig() 99 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testRemoveMetricsConfig() 107 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testRemoveAllMetricsConfigs() 115 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testSendFinishedReports() 123 assertThat(e.getMessage()).contains(Car.PERMISSION_USE_CAR_TELEMETRY_SERVICE); in testSendAllFinishedReports()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
H A D | RcsSubscribeResponseAidlWrapper.java | 47 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError() 56 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse() 67 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse() 76 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNotifyCapabilitiesUpdate() 86 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onResourceTerminated() 108 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onTerminated()
|
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
H A D | RecoverableKeyStoreManager.java | 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() 325 throw new ServiceSpecificException(ERROR_INVALID_CERTIFICATE, e.getMessage()); in initRecoveryServiceWithSigFile() 576 throw new ServiceSpecificException(ERROR_INVALID_CERTIFICATE, e.getMessage()); in startRecoverySessionWithCertPath() 833 "Failed to decrypt recovery key " + e.getMessage()); in decryptRecoveryKey() 837 "Failed to decrypt recovery key " + e.getMessage()); in decryptRecoveryKey() 848 "Failed to decrypt recovery key " + e.getMessage()); in decryptRecoveryKey() 852 "Failed to decrypt recovery key " + e.getMessage()); in decryptRecoveryKey() [all …]
|
/aosp12/libnativehelper/tests_mts/src/com/android/art/libnativehelper/ |
H A D | JniHelpTest.java | 59 assertEquals(message, e.getMessage()); in testThrowException() 69 assertEquals("Because test 101", e.getMessage()); in testThrowExceptionWithIntFormat() 79 assertEquals(message, e.getMessage()); in testThrowNullPointerException() 89 assertEquals(message, e.getMessage()); in testThrowRuntimeException() 99 s1 = e.getMessage(); in testIOException() 108 s2 = e.getMessage(); in testIOException() 124 assertTrue("Function name", e.getMessage().startsWith(functionName)); in testErrnoException()
|
/aosp12/packages/services/Telephony/src/com/android/phone/ |
H A D | TelephonyShellCommand.java | 732 errPw.println("Exception: " + ex.getMessage()); in handleEmergencyCallbackModeCommand() 765 + ", error " + ex.getMessage()); in handleEmergencyNumberTestModeCommand() 800 + ", error " + ex.getMessage()); in handleEmergencyNumberTestModeCommand() 969 Log.w(LOG_TAG, "d2d send error: " + e.getMessage()); in handleD2dSendCommand() 970 errPw.println("Exception: " + e.getMessage()); in handleD2dSendCommand() 990 errPw.println("Exception: " + e.getMessage()); in handleD2dTransportCommand() 1077 errPw.println("Exception: " + e.getMessage()); in handleBarringSendCommand() 1097 errPw.println("Exception: " + e.getMessage()); in handleD2dDeviceSupportedCommand() 1182 errPw.println("Exception: " + e.getMessage()); in handleImsSetServiceCommand() 1217 + ", error" + e.getMessage()); in handleImsClearCarrierServiceCommand() [all …]
|
H A D | ImsRcsController.java | 241 + ", capability=" + capability + ", " + e.getMessage()); in isCapable() 267 + ", capability=" + capability + ", " + e.getMessage()); in isAvailable() 289 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in requestCapabilities() 310 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in requestAvailability() 350 throw new ImsException(e.getMessage(), e.errorCode); in addUceRegistrationOverrideShell() 369 throw new ImsException(e.getMessage(), e.errorCode); in removeUceRegistrationOverrideShell() 388 throw new ImsException(e.getMessage(), e.errorCode); in clearUceRegistrationOverrideShell() 407 throw new ImsException(e.getMessage(), e.errorCode); in getLatestRcsContactUceCapabilityShell() 427 throw new ImsException(e.getMessage(), e.errorCode); in getLastUcePidfXmlShell() 445 throw new ImsException(e.getMessage(), e.errorCode); in removeUceRequestDisallowedStatus() [all …]
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/snep/ |
H A D | SnepMessenger.java | 134 public SnepMessage getMessage() throws IOException, SnepException { in getMessage() method in SnepMessenger 157 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage() 168 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage() 171 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage() 190 sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_UNSUPPORTED_VERSION)); in getMessage() 194 sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_UNSUPPORTED_VERSION)); in getMessage() 214 sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_BAD_REQUEST)); in getMessage() 237 mSocket.send(SnepMessage.getMessage(fieldContinue).toByteArray()); in getMessage() 249 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage() 263 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | SessionTest.java | 72 fail("Exception: " + e.getMessage()); in testRecursion_printFullSessionTree() 103 fail("Exception: " + e.getMessage()); in testRecursion_getFullMethodPath() 134 fail("Exception: " + e.getMessage()); in testRecursion_getFullMethodPathTruncated() 166 fail("Exception: " + e.getMessage()); in testRecursion_toString() 196 fail("Exception: " + e.getMessage()); in testRecursion_toString_childCircDep() 227 fail("Exception: " + e.getMessage()); in testRecursion_getInfo() 264 fail("Exception: " + e.getMessage()); in testRecursion()
|
/aosp12/packages/modules/StatsD/framework/java/android/app/ |
H A D | StatsManager.java | 155 throw new StatsUnavailableException(e.getMessage(), e); in addConfig() 158 throw new StatsUnavailableException(e.getMessage(), e); in addConfig() 194 throw new StatsUnavailableException(e.getMessage(), e); in removeConfig() 197 throw new StatsUnavailableException(e.getMessage(), e); in removeConfig() 265 throw new StatsUnavailableException(e.getMessage(), e); in setBroadcastSubscriber() 317 throw new StatsUnavailableException(e.getMessage(), e); in setFetchReportsOperation() 355 throw new StatsUnavailableException(e.getMessage(), e); in setActiveConfigsChangedOperation() 393 throw new StatsUnavailableException(e.getMessage(), e); in getReports() 396 throw new StatsUnavailableException(e.getMessage(), e); in getReports() 433 throw new StatsUnavailableException(e.getMessage(), e); in getStatsMetadata() [all …]
|
/aosp12/art/test/911-get-stack-trace/src/art/ |
H A D | Frames.java | 46 System.out.println(e.getMessage()); in doTestSameThread() 54 System.out.println(e.getMessage()); in doTestSameThread() 79 System.out.println(e.getMessage()); in doTestOtherThreadWait() 87 System.out.println(e.getMessage()); in doTestOtherThreadWait() 117 System.out.println(e.getMessage()); in doTestOtherThreadBusyLoop() 125 System.out.println(e.getMessage()); in doTestOtherThreadBusyLoop()
|
/aosp12/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleViewDebug.java | 232 + 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()
|
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/ |
H A D | ChatServiceException.java | 43 super(getMessage(message, CODE_ERROR_UNSPECIFIED)); in ChatServiceException() 52 super(getMessage(message, code)); in ChatServiceException() 66 super(getMessage(message, code), cause); in ChatServiceException() 70 private static String getMessage(String message, int code) { in getMessage() method in ChatServiceException
|