/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDetailsTest.java | 192 assertThat(mCall.getDetails().getAccountHandle(), instanceOf(PhoneAccountHandle.class)); in testAccountHandle() 193 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testAccountHandle() 204 assertThat(mCall.getDetails().getCallCapabilities(), instanceOf(Integer.class)); in testCallCapabilities() 205 assertEquals(CALL_CAPABILITIES, mCall.getDetails().getCallCapabilities()); in testCallCapabilities() 206 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_HOLD)); in testCallCapabilities() 207 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_MUTE)); in testCallCapabilities() 208 assertFalse(mCall.getDetails().can(Call.Details.CAPABILITY_MANAGE_CONFERENCE)); in testCallCapabilities() 209 assertFalse(mCall.getDetails().can(Call.Details.CAPABILITY_RESPOND_VIA_TEXT)); in testCallCapabilities() 356 assertThat(mCall.getDetails().getCallerDisplayName(), instanceOf(String.class)); in testCallerDisplayName() 357 assertEquals(CALLER_DISPLAY_NAME, mCall.getDetails().getCallerDisplayName()); in testCallerDisplayName() [all …]
|
D | CallRedirectionServiceTest.java | 131 assertEquals(SAMPLE_HANDLE, mCall.getDetails().getGatewayInfo().getGatewayAddress()); in testRedirectedCallWithRedirectedGateway() 132 assertEquals(getTestNumber(), mCall.getDetails().getGatewayInfo().getOriginalAddress()); in testRedirectedCallWithRedirectedGateway() 133 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithRedirectedGateway() 153 mCall.getDetails().getGatewayInfo().getGatewayAddress()); in testRedirectedCallWithPostDialDigits() 157 Uri.decode(mCall.getDetails().getGatewayInfo().getOriginalAddress() in testRedirectedCallWithPostDialDigits() 160 mCall.getDetails().getHandle()); in testRedirectedCallWithPostDialDigits() 161 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithPostDialDigits() 176 assertEquals(SAMPLE_HANDLE, mCall.getDetails().getGatewayInfo().getGatewayAddress()); in testRedirectedCallWithRedirectedPhoneAccount() 177 assertEquals(getTestNumber(), mCall.getDetails().getGatewayInfo().getOriginalAddress()); in testRedirectedCallWithRedirectedPhoneAccount() 178 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE_2, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithRedirectedPhoneAccount() [all …]
|
D | ConferenceTest.java | 210 assertFalse(conf.getDetails().can(Call.Details.CAPABILITY_MUTE)); in testConferenceSetters() 227 assertFalse(conf.getDetails().getExtras().containsKey( in testConferenceSetters() 233 assertNull(conf.getDetails().getStatusHints()); in testConferenceSetters() 269 conf.getDetails().getHandlePresentation()); in testConferenceSetters() 275 conf.getDetails().getHandlePresentation()); in testConferenceSetters() 281 conf.getDetails().getCallerDisplayNamePresentation()); in testConferenceSetters() 286 conf.getDetails().getCallerDisplayNamePresentation()); in testConferenceSetters() 336 assertTrue(conf.getDetails().hasProperty(Call.Details.PROPERTY_HAS_CDMA_VOICE_PRIVACY)); in testConferenceProperties() 358 Bundle changedExtras = conf.getDetails().getExtras(); in testConferencePutExtras() 594 return call.getDetails().can(capability); in assertCallCapability() [all …]
|
D | HandoverTest.java | 162 call.getDetails().getHandle()); in testOutgoingHandoverRequestValid() 190 mTelecomManager.acceptHandover(call.getDetails().getHandle(), in testIncomingHandoverRequestValid() 205 call.getDetails().getHandle()); in testIncomingHandoverRequestValid() 214 assertEquals(call.getDetails().getHandle(), request.getAddress()); in testIncomingHandoverRequestValid()
|
D | BackgroundCallAudioTest.java | 160 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() 525 controlInterface.getCallState(call.getDetails().getTelecomCallId())); in testLowerApiLevelCompatibility1() 533 controlInterface.getCallState(call.getDetails().getTelecomCallId())); in testLowerApiLevelCompatibility1() 627 assertEquals(DisconnectCause.MISSED, call.getDetails().getDisconnectCause().getCode()); in verifySimulateRingAndUserMissed()
|
D | IncomingCallTest.java | 84 call.getDetails().getCallerNumberVerificationStatus()); in testVerstatPassed() 97 call.getDetails().getCallerNumberVerificationStatus()); in testVerstatFailed() 110 call.getDetails().getCallerNumberVerificationStatus()); in testVerstatNotVerified() 302 assertTrue((mInCallCallbacks.getService().getLastCall().getDetails().getCallProperties() in testAddNewIncomingCallVoipState() 542 return call.getDetails().getExtras().containsKey(expectedKey) ? expectedKey in assertCallExtrasKey()
|
D | CallDiagnosticServiceTest.java | 310 assertNull(mCall.getDetails().getDisconnectCause().getLabel()); in testSetNullDisconnectMessage() 311 assertNull(mCall.getDetails().getDisconnectCause().getDescription()); in testSetNullDisconnectMessage() 331 assertEquals(OVERRIDE_MESSAGE, mCall.getDetails().getDisconnectCause().getLabel()); in testOverrideDisconnectMessage() 332 assertEquals(OVERRIDE_MESSAGE, mCall.getDetails().getDisconnectCause().getDescription()); in testOverrideDisconnectMessage()
|
D | ExternalCallTest.java | 191 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_IS_EXTERNAL_CALL)); in testExternalCallAndPullCall() 211 assertFalse(call.getDetails().hasProperty(Call.Details.PROPERTY_IS_EXTERNAL_CALL)); in testExternalCallAndPullCall()
|
D | BaseTelecomTestWithMockServices.java | 494 mPreviousPhoneAccountHandle = call.getDetails().getAccountHandle(); in setupCallbacks() 1606 return call.getDetails().getVideoState(); 1699 return call.getState() == state && call.getDetails().getState() == state; 1704 + call.getDetails().getState() 1770 return call.getDetails().getCallerDisplayName(); 1788 return call.getDetails().getHandle(); 1806 return call.getDetails().getConnectTimeMillis() != time; 1899 return mCall != null && mCall.getDetails() != null; 1918 return mCall != null && mCall.getDetails() != null 1919 && mCall.getDetails().getGatewayInfo() != null; [all …]
|
D | ExtendedInCallServiceTest.java | 474 assertFalse(call.getDetails().getExtras().containsKey(TelecomManager.EXTRA_LOCATION)); in testCallComposerAttachmentsStrippedCorrectly() 475 assertFalse(call.getDetails().getExtras().containsKey(TelecomManager.EXTRA_PRIORITY)); in testCallComposerAttachmentsStrippedCorrectly() 476 assertFalse(call.getDetails().getExtras() in testCallComposerAttachmentsStrippedCorrectly() 479 assertFalse(call.getDetails().getIntentExtras() in testCallComposerAttachmentsStrippedCorrectly() 481 assertFalse(call.getDetails().getIntentExtras() in testCallComposerAttachmentsStrippedCorrectly() 483 assertFalse(call.getDetails().getIntentExtras() in testCallComposerAttachmentsStrippedCorrectly()
|
D | MockInCallService.java | 269 if (call.getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE) == true) { in onCallAdded() 295 if (call.getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE) == true) { in onCallRemoved() 396 if (call.getDetails().getTelecomCallId().equals(id)) { in getCallWithId()
|
D | ConnectionServiceTest.java | 300 assertEquals(Call.Details.DIRECTION_INCOMING, call.getDetails().getCallDirection()); in testCallDirectionIncoming() 531 assertEquals(Call.Details.DIRECTION_OUTGOING, call.getDetails().getCallDirection()); 532 assertEquals(1000L, call.getDetails().getConnectTimeMillis());
|
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
D | SelfManagedAwareInCallServiceTest.java | 136 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testInCallServiceOutgoing() 137 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testInCallServiceOutgoing() 160 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testInCallServiceIncoming() 161 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testInCallServiceIncoming() 183 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testSelfManagedSignalling() 184 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testSelfManagedSignalling()
|
/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/ |
D | CujInCallService.java | 54 sCallIdToCall.put(call.getDetails().getId(), call); in onCallAdded() 55 if (call.getDetails().getState() == Call.STATE_SELECT_PHONE_ACCOUNT) { in onCallAdded() 68 sCallIdToCall.remove(call.getDetails().getId()); in onCallRemoved()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsCallingTest.java | 292 if (call.getDetails().getState() == Call.STATE_RINGING) { in testIncomingCall() 324 if (call.getDetails().getState() == Call.STATE_RINGING) { in testIncomingCallReturnListener() 354 if (call.getDetails().getState() == Call.STATE_RINGING) { in testIncomingCallReject() 482 assertTrue("call is not in Active State", (call.getDetails().getState() in testOutGoingCallHoldFailure() 529 assertTrue("Call is not in Hold State", (call.getDetails().getState() in testOutGoingCallResumeFailure() 570 assertTrue("Call is not in Active State", (call.getDetails().getState() in testOutGoingCallReceivedHoldResume() 577 assertTrue("Call is not in Active State", (call.getDetails().getState() in testOutGoingCallReceivedHoldResume() 617 assertTrue("Call is not in Active State", (moCall.getDetails().getState() in testOutGoingIncomingMultiCall() 630 if (mtCall.getDetails().getState() == Call.STATE_RINGING) { in testOutGoingIncomingMultiCall() 640 assertTrue("Call is not in Active State", (mtCall.getDetails().getState() in testOutGoingIncomingMultiCall() [all …]
|
D | ImsCallingBase.java | 383 if (call.getDetails().getState() != Call.STATE_ACTIVE) { in isCallActive() 398 && call.getDetails().getState() == Call.STATE_ACTIVE) in isCallActive() 421 && call.getDetails().getState() == Call.STATE_DISCONNECTED) in isCallDisconnected() 427 + call.getDetails().getState() + ", Call Disconnected"); in isCallDisconnected() 443 && call.getDetails().getState() == Call.STATE_HOLDING) ? true in isCallHolding() 509 if (call.getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE)) { in onCallAdded() 551 if (call.getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE)) { in onChildrenChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/ |
D | DialerCallTestService.java | 63 if (call.getDetails().getHandle() != null) { in onCallAdded() 64 intent.putExtra(EXTRA_CALL_NAME, call.getDetails().getHandle().getSchemeSpecificPart()); in onCallAdded()
|
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/ |
D | CtsThirdPartyInCallService.java | 163 return sCalls.stream().filter(c -> c.getDetails().getExtras() != null in waitForExtrasChanged() 164 && c.getDetails().getExtras().containsKey(mExpectedKey) in waitForExtrasChanged() 165 && c.getDetails().getExtras().getString(mExpectedKey).equals(mExpectedValue)) in waitForExtrasChanged()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | BaseAppVerifierImpl.java | 224 return mVerifierMethods.getLastAddedCall().getDetails().getId(); in addCallAndVerify() 293 if (call.getDetails().getId().equals(id)) { in answerViaInCallServiceAndVerify() 410 if (call.getDetails().getId().equals(id)) { in verifyCallPhoneAccount() 418 if (targetCall.getDetails() == null) { in verifyCallPhoneAccount() 422 targetCall.getDetails().getAccountHandle()); in verifyCallPhoneAccount()
|
D | WaitForInCallService.java | 103 if (call.getDetails().getId().equals(id)) { in getCallWithId()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | InCallServiceStateValidator.java | 140 if (call.getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE)) { in onCallAdded() 160 if (call.getDetails().hasProperty(Call.Details.PROPERTY_CONFERENCE)) { in onCallRemoved()
|
/cts/tests/tests/telecom/Api29InCallServiceTestApp/src/android/telecom/cts/api29incallservice/ |
D | CtsApi29InCallServiceControl.java | 37 .filter(c -> c.getDetails().getTelecomCallId().equals(callId))
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 49 def getDetails(self): member in TestCase 181 values["details"] = result.getDetails()
|
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/ |
D | CtsCarModeInCallServiceControl.java | 144 return CtsCarModeInCallService.getInstance().getLastCall().getDetails().getVideoState();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 198 public String getDetails() { in getDetails() method in TestResult
|