Home
last modified time | relevance | path

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

123456789

/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/
DCarAudioManagerPermissionTest.java66 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 …]
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/user/
DCarUserManagerPermissionTest.java73 assertThat(e.getMessage()).contains(MANAGE_USERS); in testSwitchUserPermission()
80 assertThat(e.getMessage()).contains(MANAGE_USERS); in testCreateUserPermission()
81 assertThat(e.getMessage()).contains(CREATE_USERS); in testCreateUserPermission()
87 assertThat(e.getMessage()).contains(MANAGE_USERS); in testRemoveUserPermission()
97 assertThat(e.getMessage()).contains(INTERACT_ACROSS_USERS); in testAddListenerPermission()
98 assertThat(e.getMessage()).contains(INTERACT_ACROSS_USERS_FULL); in testAddListenerPermission()
110 assertThat(e.getMessage()).contains(INTERACT_ACROSS_USERS); in testRemoveListenerPermission()
111 assertThat(e.getMessage()).contains(INTERACT_ACROSS_USERS_FULL); in testRemoveListenerPermission()
118 assertThat(e.getMessage()).contains(MANAGE_USERS); in testGetUserIdentificationAssociationPermission()
126 assertThat(e.getMessage()).contains(MANAGE_USERS); in testSetUserIdentificationAssociationPermission()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java499 Log.e(TAG, ex.getMessage(), ex); in updateThreads()
1248 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1264 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1280 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1296 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1312 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1327 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1343 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1359 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
1375 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
[all …]
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessenger.java134 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()
213 sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_BAD_REQUEST)); in getMessage()
236 mSocket.send(SnepMessage.getMessage(fieldContinue).toByteArray()); in getMessage()
248 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage()
262 mSocket.send(SnepMessage.getMessage(fieldReject).toByteArray()); in getMessage()
DSnepServer.java143 request = messenger.getMessage(); in handleRequest()
147 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
156 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
161 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_REJECT)); in handleRequest()
170 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupSkipDialogTest.java58 shadowAlertDialog.getMessage()); in frpMessages_areShownCorrectly_whenNotSupported()
73 shadowAlertDialog.getMessage()); in frpMessages_areShownCorrectly_whenSupported()
88 assertThat(getSkipDialogMessage(false)).isEqualTo(shadowAlertDialog.getMessage()); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()
103 assertThat(getSkipDialogMessage(false)).isEqualTo(shadowAlertDialog.getMessage()); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()
118 assertThat(getSkipDialogMessage(false)).isEqualTo(shadowAlertDialog.getMessage()); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()
133 assertThat(getSkipDialogMessage(true)).isEqualTo(shadowAlertDialog.getMessage()); in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly()
148 assertThat(getSkipDialogMessage(true)).isEqualTo(shadowAlertDialog.getMessage()); in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly()
163 assertThat(getSkipDialogMessage(true)).isEqualTo(shadowAlertDialog.getMessage()); in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly()
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
DAllUriTest.java314 addFailure("Query failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
323 addFailure("Query with cancel failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
334 addFailure("Query with limit failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
349 addFailure("Query with limit failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable()
384 addFailure("Failed: URI=" + path[0] + " Message=" + th.getMessage(), th); in testSelect()
402 addFailure("Failed: URI=" + path[0] + " Message=" + th.getMessage(), th); in testNoHiddenColumns()
567 addFailure("Query failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkColumnAccessible()
643 addFailure(operation + " for '" + uri + "' failed: " + e.getMessage(), e); in checkExecutable()
697 addFailure("Failed: URI=" + uri + " Message=" + th.getMessage(), th); in testAllOperations()
712 if (e.getMessage().contains("Stream I/O not supported")) { in testAllFileOperations()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java178 Log.w(TAG, "OBEX session disconnect error " + e.getMessage()); in disconnect()
192 Log.w(TAG, "OBEX session close error:" + e.getMessage()); in disconnect()
206 Log.e(TAG, "mTransport.close error: " + e.getMessage()); in disconnect()
354 Log.e(TAG, "BtSocket Connect error " + e.getMessage(), e); in connect()
365 Log.e(TAG, "OBEX session create error " + e1.getMessage()); in connect()
402 Log.e(TAG, "OBEX session connect error " + e.getMessage()); in connect()
478 Log.e(TAG, "Error when put HeaderSet " + e.getMessage()); in sendEventHandler()
491 Log.e(TAG, "Error when opening OutputStream " + e.getMessage()); in sendEventHandler()
526 Log.e(TAG, "Error when closing stream after send " + e.getMessage()); in sendEventHandler()
544 Log.e(TAG, "Error when closing stream after send " + e.getMessage()); in sendEventHandler()
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java58 response = client.getMessage(); in testGetSmallNdef()
89 response = client.getMessage(); in testGetLargeNdef()
120 response = client.getMessage(); in testGetExcessiveNdef()
151 response = client.getMessage(); in testPutSmallNdef()
182 response = client.getMessage(); in testPutLargeNdef()
216 response = client.getMessage(); in testUnsupportedVersion()
252 response = client.getMessage(); in testDifferentMinorVersion()
295 return SnepMessage.getMessage(SnepMessage.RESPONSE_EXCESS_DATA);
DSnepValidationServerTests.java116 return SnepMessage.getMessage(SnepMessage.RESPONSE_SUCCESS); in doPut()
128 return SnepMessage.getMessage(SnepMessage.RESPONSE_NOT_FOUND); in doGet()
131 return SnepMessage.getMessage(SnepMessage.RESPONSE_EXCESS_DATA); in doGet()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSessionTest.java72 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()
197 fail("Exception: " + e.getMessage()); in testRecursion_getInfo()
234 fail("Exception: " + e.getMessage()); in testRecursion()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java313 Log.w(LOG_TAG, "data enable, error " + ex.getMessage()); in handleDataTestModeCommand()
314 errPw.println("Exception: " + ex.getMessage()); in handleDataTestModeCommand()
323 Log.w(LOG_TAG, "data disable, error " + ex.getMessage()); in handleDataTestModeCommand()
324 errPw.println("Exception: " + ex.getMessage()); in handleDataTestModeCommand()
363 + ", error " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
364 errPw.println("Exception: " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
374 Log.w(LOG_TAG, "emergency-number-test-mode -c " + "error " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
375 errPw.println("Exception: " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
398 + ", error " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
399 errPw.println("Exception: " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java112 Log.e(LOG_TAG, "ProtocolException: " + e.getMessage()); in getCertificateList()
114 Log.e(LOG_TAG, "MalformedURLException: " + e.getMessage()); in getCertificateList()
116 Log.e(LOG_TAG, "IOException: " + e.getMessage()); in getCertificateList()
118 Log.e(LOG_TAG, "Exception: " + e.getMessage()); in getCertificateList()
188 Log.e(LOG_TAG, "Json parsing error: " + e.getMessage()); in doInBackground()
193 "Json parsing error: " + e.getMessage(), in doInBackground()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragmentTest.java140 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_highUsageTip_fireHighUsageDialog()
155 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()
177 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()
207 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
226 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
241 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_summaryTip_fireDialog()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp106 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
163 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
239 SCOPED_TRACE(status.getMessage()); in TEST_F()
254 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
270 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
293 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
305 EXPECT_TRUE(status.isOk()) << status.getMessage(); in TEST_F()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DExtDtaSnepServer.java116 request = messenger.getMessage(); in handleRequest()
120 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
127 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
131 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_REJECT)); in handleRequest()
144 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_BAD_REQUEST)); in handleRequest()
/packages/services/Telephony/tests/src/com/android/phone/
DServiceStateProviderTest.java233 final String message = e.getMessage(); in testNoNotify()
263 final String message = e.getMessage(); in testNotifyChanged()
275 final String message = e.getMessage(); in testNotifyChanged()
288 final String message = e.getMessage(); in testNotifyChanged()
300 final String message = e.getMessage(); in testNotifyChanged()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DStringResourceMap.java63 throw new RuntimeException(e.getMessage(), e); in StringResourceMap()
65 throw new RuntimeException(e.getMessage() + " at line " + e.getLineNumber() in StringResourceMap()
68 throw new RuntimeException(e.getMessage(), e); in StringResourceMap()
70 throw new RuntimeException(e.getMessage(), e); in StringResourceMap()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DSecureBleChannel.java136 byte[] encryptedMessage = key.encryptData(deviceMessage.getMessage()); in encryptMessage()
206 byte[] decryptedMessage = key.decryptData(deviceMessage.getMessage()); in processMessage()
231 processHandshake(deviceMessage.getMessage()); in onMessageReceived()
239 if (!success || deviceMessage.getMessage() == null) { in onMessageReceived()
/packages/apps/SecureElement/src/com/android/se/
DSecureElementService.java287 + ignore.getMessage()); in closeChannels()
324 throw new ServiceSpecificException(SEService.IO_ERROR, e.getMessage()); in openBasicChannel()
326 throw new ServiceSpecificException(SEService.NO_SUCH_ELEMENT_ERROR, e.getMessage()); in openBasicChannel()
364 throw new ServiceSpecificException(SEService.IO_ERROR, e.getMessage()); in openLogicalChannel()
366 throw new ServiceSpecificException(SEService.NO_SUCH_ELEMENT_ERROR, e.getMessage()); in openLogicalChannel()
DTerminal.java474 throw new IOException(e.getMessage()); in openBasicChannel()
552 throw new IOException(e.getMessage()); in openLogicalChannel()
655 throw new IOException(e.getMessage()); in transmitInternal()
681 Log.i(mTag, "isNfcEventAllowed Exception: " + e.getMessage()); in isNfcEventAllowed()
691 Log.i(mTag, "isNfcEventAllowed Exception: " + e.getMessage()); in isNfcEventAllowed()
772 Log.e(mTag, "checkCarrierPrivilege() Exception: " + e.getMessage()); in setUpChannelAccess()
859 Log.i(mTag, "checkCarrierPrivilege() Exception: " + e.getMessage()); in checkCarrierPrivilegeRules()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DStateMachineTest.java221 tloge("testStateMachineQuit: exception while waiting " + e.getMessage()); in testStateMachineQuit()
325 tloge("testStateMachineQuitNow: exception while waiting " + e.getMessage()); in testStateMachineQuitNow()
531 + e.getMessage()); in testStateMachineEnterExitTransitionToTest()
653 tloge("testStateMachine0: exception while waiting " + e.getMessage()); in testStateMachine0()
754 tloge("testStateMachine1: exception while waiting " + e.getMessage()); in testStateMachine1()
861 tloge("testStateMachine2: exception while waiting " + e.getMessage()); in testStateMachine2()
955 tloge("testStateMachine3: exception while waiting " + e.getMessage()); in testStateMachine3()
1051 tloge("testStateMachine4: exception while waiting " + e.getMessage()); in testStateMachine4()
1350 tloge("testStateMachine5: exception while waiting " + e.getMessage()); in testStateMachine5()
1473 tloge("testStateMachine6: exception while waiting " + e.getMessage()); in testStateMachine6()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCollectionUtilsTests.java57 assertEquals("Invalid start: -1 end: 1 with array.length: 2", e.getMessage()); in testArrayAsListFailure()
64 assertEquals("Invalid start: 1 end: -1 with array.length: 2", e.getMessage()); in testArrayAsListFailure()
71 assertEquals("Invalid start: 1 end: 3 with array.length: 2", e.getMessage()); in testArrayAsListFailure()
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java173 return mmiCode.getMessage(); in handleCallerIdUssdResponse()
179 return mmiCode.getMessage(); in handleCallerIdUssdResponse()
188 return mmiCode.getMessage(); in handleCallerIdUssdResponse()
194 mmiCode.getMessage().toString()); in handleCallerIdUssdResponse()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DMessageComposerFragment.java53 public String getMessage() { in getMessage() method in MessageComposerFragment
113 return TextUtils.isEmpty(getMessage()); in shouldHide()
123 if (getMessage() == null) { in onEditorAction()

123456789