/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallEndpointControllerTest.java | 96 @Mock private ConnectionServiceWrapper mConnectionService; field in CallEndpointControllerTest 110 doReturn(mConnectionService).when(mCall).getConnectionService(); in setUp() 141 verify(mConnectionService, times(1)).onCallEndpointChanged(eq(mCall), eq(endpoint)); in testCurrentEndpointChangedToBluetooth() 143 verify(mConnectionService, never()).onAvailableCallEndpointsChanged(any(), any()); in testCurrentEndpointChangedToBluetooth() 145 verify(mConnectionService, never()).onMuteStateChanged(any(), anyBoolean()); in testCurrentEndpointChangedToBluetooth() 161 verify(mConnectionService, times(1)).onCallEndpointChanged(eq(mCall), eq(endpoint)); in testCurrentEndpointChangedToStreaming() 163 verify(mConnectionService, times(1)).onAvailableCallEndpointsChanged(eq(mCall), in testCurrentEndpointChangedToStreaming() 166 verify(mConnectionService, never()).onMuteStateChanged(any(), anyBoolean()); in testCurrentEndpointChangedToStreaming() 183 verify(mConnectionService, times(1)).onCallEndpointChanged(eq(mCall), eq(endpoint)); in testCurrentEndpointChangedBetweenBluetooth() 185 verify(mConnectionService, never()).onAvailableCallEndpointsChanged(any(), any()); in testCurrentEndpointChangedBetweenBluetooth() [all …]
|
D | BasicCallTests.java | 430 return mConnectionServiceFixtureA.mConnectionService.rejectedCallIds.size() == 1; in testIncomingCallFromContactWithSendToVoicemailIsRejected() 474 assertEquals(0, mConnectionServiceFixtureA.mConnectionService.rejectedCallIds.size()); in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 528 return mConnectionServiceFixtureA.mConnectionService.rejectedCallIds.size() == 1; in testIncomingCallFromBlockedNumberIsRejected() 558 assertEquals(0, mConnectionServiceFixtureA.mConnectionService.rejectedCallIds.size()); in testIncomingCallBlockCheckTimesoutIsAllowed()
|
D | ConnectionServiceFixture.java | 482 FakeConnectionService mConnectionService = new FakeConnectionService(); field in ConnectionServiceFixture 483 private IConnectionService.Stub mConnectionServiceSpy = Mockito.spy(mConnectionService);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Call.java | 452 private ConnectionServiceWrapper mConnectionService; field in Call 1233 return (!mIsTransactionalCall ? mConnectionService : mTransactionalService); in getConnectionServiceWrapper() 2066 return mConnectionService; in getService() 2355 if (mConnectionService != null) { in setConnectionProperties() 2356 mConnectionService.startRtt(this, in setConnectionProperties() 2460 return mConnectionService; in getConnectionService() 2494 mConnectionService = service; in setConnectionService() 2496 mConnectionService.addCall(this); in setConnectionService() 2518 if (mConnectionService != null) { in replaceConnectionService() 2519 ConnectionServiceWrapper serviceTemp = mConnectionService; in replaceConnectionService() [all …]
|
D | CreateConnectionTimeout.java | 42 private final ConnectionServiceWrapper mConnectionService; field in CreateConnectionTimeout 55 mConnectionService = service; in CreateConnectionTimeout() 149 mConnectionService.disconnect(mCall); in timeoutCallIfNeeded()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConferenceController.java | 70 private final TelephonyConnectionServiceProxy mConnectionService; field in TelephonyConferenceController 74 mConnectionService = connectionService; in TelephonyConferenceController() 203 Collection<Connection> allConnections = mConnectionService.getAllConnections(); in recalculateConference() 300 mConnectionService.addConference(mTelephonyConference); in recalculateConference()
|
D | CdmaConferenceController.java | 85 private final TelephonyConnectionService mConnectionService; field in CdmaConferenceController 93 mConnectionService = connectionService; in CdmaConferenceController() 223 mConnectionService.addTelephonyConference(mConference); in recalculateConference()
|
D | ImsConferenceController.java | 118 private final TelephonyConnectionServiceProxy mConnectionService; field in ImsConferenceController 145 mConnectionService = connectionService; in ImsConferenceController() 476 ImsConference conference = new ImsConference(mTelecomAccountRegistry, mConnectionService, in startConference() 482 mConnectionService.addConference(conference); in startConference()
|