Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsExceptionTest.java38 assertEquals(ImsException.CODE_ERROR_UNSPECIFIED, e.getCode()); in testImsExceptionConstructors()
40 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e2.getCode()); in testImsExceptionConstructors()
42 assertEquals(ImsException.CODE_ERROR_UNSUPPORTED_OPERATION, e3.getCode()); in testImsExceptionConstructors()
DImsReasonInfoTest.java43 assertEquals(mCode, mInfo.getCode()); in testBasics()
63 assertEquals(mCode, unparceledInfo.getCode()); in testParcelUnparcel()
DTestSipDelegateConnection.java326 if (e.getCode() != ImsException.CODE_ERROR_SERVICE_UNAVAILABLE) { in callUntilImsServiceIsAvailableNoReturn()
DRcsUceAdapterTest.java315 if (e.getCode() != ImsException.CODE_ERROR_UNSUPPORTED_OPERATION) { in testGetAndSetUceSetting()
316 fail("failed getting UCE setting with code: " + e.getCode()); in testGetAndSetUceSetting()
354 if (e.getCode() != ImsException.CODE_ERROR_UNSUPPORTED_OPERATION) { in testMethodPermissions()
355 fail("isUceSettingEnabled failed with code " + e.getCode()); in testMethodPermissions()
371 if (e.getCode() != ImsException.CODE_ERROR_UNSUPPORTED_OPERATION) { in testMethodPermissions()
372 fail("isUceSettingEnabled failed with code " + e.getCode()); in testMethodPermissions()
387 if (e.getCode() != ImsException.CODE_ERROR_UNSUPPORTED_OPERATION) { in testMethodPermissions()
388 fail("setUceSettingEnabled failed with code " + e.getCode()); in testMethodPermissions()
DImsServiceTest.java1178 assertEquals(ImsReasonInfo.CODE_LOCAL_NOT_REGISTERED, deregResult.getCode()); in testMmTelManagerRegistrationCallbackS()
1266 mEmerDeregQueue.offer(info.getCode()); in testMmTelManagerEmergencyRegistrationCallback()
1271 mEmerDeregQueue.offer(info.getCode()); in testMmTelManagerEmergencyRegistrationCallback()
1378 mQueue.offer(info.getCode()); in testMmTelManagerRegistrationCallback()
1384 mQueue.offer(info.getCode()); in testMmTelManagerRegistrationCallback()
3089 mQueue.offer(info.getCode()); in testRcsManagerRegistrationCallback()
3094 mQueue.offer(info.getCode()); in testRcsManagerRegistrationCallback()
3101 mQueue.offer(info.getCode()); in testRcsManagerRegistrationCallback()
3205 mQueue.offer(info.getCode()); in testMmTelManagerRegistrationStateR()
3211 mQueue.offer(info.getCode()); in testMmTelManagerRegistrationStateR()
[all …]
DSipDelegateManagerTest.java621 if (e.getCode() != ImsException.CODE_ERROR_UNSUPPORTED_OPERATION) { in testFeatureImsNotSupported()
2446 if (e.getCode() != ImsException.CODE_ERROR_SERVICE_UNAVAILABLE) { in callUntilImsServiceIsAvailable()
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/app/integration/
DUnholdableCallTest.java153 assertEquals(CallException.CODE_CANNOT_HOLD_CURRENT_ACTIVE_CALL, e.getCode()); in testSetHoldOnUnholdableCall_TransactionalApp()
213 assertEquals(CallException.CODE_CANNOT_HOLD_CURRENT_ACTIVE_CALL, e.getCode()); in testAnswerIncomingWithOngoingUnholdableCall_TransactionalApp()
316 assertEquals(CallException.CODE_CANNOT_HOLD_CURRENT_ACTIVE_CALL, e.getCode()); in testAnswerIncomingWithOngoingUnholdable_ManagedTransactionalApp()
/cts/tests/tests/telecom/src/android/telecom/cts/
DAdhocConferenceTest.java94 assertEquals(DisconnectCause.CANCELED, conference.getDisconnectCause().getCode()); in testStartConferenceFailed()
142 assertEquals(DisconnectCause.REJECTED, conn.getDisconnectCause().getCode()); in testAddNewIncomingConference_onReject()
154 assertEquals(DisconnectCause.CANCELED, conference.getDisconnectCause().getCode()); in testAddNewIncomingConferenceFailed()
DEmergencyCallOnSimCallManagerTest.java112 assertEquals(QueryLocationException.ERROR_UNSPECIFIED, e.getCode()); in testQueryLocationException()
119 assertEquals(QueryLocationException.ERROR_REQUEST_TIME_OUT, e.getCode()); in testQueryLocationException()
126 assertEquals(QueryLocationException.ERROR_PREVIOUS_REQUEST_EXISTS, e.getCode()); in testQueryLocationException()
DBackgroundCallAudioTest.java160 assertEquals(DisconnectCause.REJECTED, call.getDetails().getDisconnectCause().getCode()); in testAudioProcessingFromCallScreeningDisallow()
224 assertEquals(DisconnectCause.MISSED, call.getDetails().getDisconnectCause().getCode()); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing()
377 assertEquals(DisconnectCause.REMOTE, call.getDetails().getDisconnectCause().getCode()); in testAudioProcessActiveCallRemoteHangup()
464 assertEquals(DisconnectCause.REJECTED, call.getDetails().getDisconnectCause().getCode()); in testManualAudioCallScreenReject()
627 assertEquals(DisconnectCause.MISSED, call.getDetails().getDisconnectCause().getCode()); in verifySimulateRingAndUserMissed()
DDataObjectUnitTests.java185 assertEquals(DisconnectCause.ERROR, cause.getCode()); in testDisconnectCause()
198 assertEquals(DisconnectCause.ERROR, parcelCause.getCode()); in testDisconnectCause()
226 assertEquals(DisconnectCause.ERROR, cause.getCode()); in testDisconnectCauseWithTelephonyDebugInfo()
DTelecomCtsVoipCall.java183 Log.i(TAG, String.format("onError: code=[%d]", error.getCode())); in onError()
DTransactionalApisTest.java652 assertEquals(cannotSetInactiveException.getCode(), in testCallDoesNotSupportHoldResultsInOnError()
653 exception.getCode()); in testCallDoesNotSupportHoldResultsInOnError()
704 assertTrue(CallException.CODE_CALL_IS_NOT_BEING_TRACKED == e.getCode() in testUsingCallControlAfterDisconnect()
705 || CallException.CODE_CALL_CANNOT_BE_SET_TO_ACTIVE == e.getCode()); in testUsingCallControlAfterDisconnect()
DExtendedInCallServiceTest.java570 assertEquals(expected.getCode(), exception.getCode()); in testSwitchCallEndpoint()
DConferenceTest.java370 assertEquals(DisconnectCause.CANCELED, failedConference.getDisconnectCause().getCode()); in testCreateFailedConference()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DShellCommandDeviceTest.java42 assertNotEquals(0, result.getCode()); in assertShellCommandThrowsException()
DDirectShellCommand.java72 public int getCode() { in getCode() method in DirectShellCommand.Result
/cts/tests/framework/base/windowmanager/shared/src/android/server/wm/shared/
DBlockingResultReceiver.java51 public int getCode(long timeoutMs) in getCode() method in BlockingResultReceiver
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java267 int getCode() { in getCode() method in TestBase.ResultCallback
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSimultaneousCallingRestrictionsTest.java598 assertEquals(ImsReasonInfo.CODE_LOCAL_NOT_REGISTERED, deregResult.getCode()); in registerImsCallbackAndWaitForImsUnregister()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java274 CameraDevice.StateCallback.ERROR_MAX_CAMERAS_IN_USE, e.getCode()); in testDualCameraPreview()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt42499 method public int getCode();
42520 method public int getCode();
42927 method public int getCode();
43115 method public int getCode();
46887 method public int getCode();
46946 method public int getCode();