/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
CallTest.java | 37 private TestCall mCall; 49 mCall = new TestCall(); 58 mCall.updateFromCallExtras(getTestBundle()); 63 mCall.setBundleCorrupted(true); 64 mCall.updateFromCallExtras(getTestBundle()); 66 assertEquals(mCall.getChildNumber(), null); 67 assertEquals(mCall.getLastForwardedNumber(), null); 68 assertEquals(mCall.getCallSubject(), null); 73 mCall.updateFromCallExtras(getTestBundle()); 74 mCall.setBundleCorrupted(true) [all...] |
TestTelecomCall.java | 43 private android.telecom.Call mCall; 121 mCall = call; 125 return mCall; 129 Preconditions.checkNotNull(mCall); 132 Method method = mCall.getClass().getDeclaredMethod("fireDetailsChanged", 135 method.invoke(mCall, mCall.getDetails()); 146 Preconditions.checkNotNull(mCall); 148 Field field = mCall.getDetails().getClass().getDeclaredField("mCallCapabilities"); 150 field.set(mCall.getDetails(), capabilities) [all...] |
StatusBarNotifierTest.java | 37 @Mock private Call mCall; 73 Mockito.when(mCall.isConferenceCall()).thenReturn(true); 74 Mockito.when(mCall.hasProperty(Mockito.anyInt())).thenReturn(false); 77 statusBarNotifier.getContentTitle(null, mCall)); 83 assertEquals(NAME_PRIMARY, statusBarNotifier.getContentTitle(mUnlockedContactInfo, mCall)); 89 assertEquals(NUMBER, statusBarNotifier.getContentTitle(mLockedContactInfo, mCall)); 96 assertEquals(NUMBER, statusBarNotifier.getContentTitle(contactCacheEntry, mCall));
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ExternalCallTest.java | 37 private Call mCall; 68 mCall = mInCallService.getLastCall(); 70 assertCallState(mCall, Call.STATE_DIALING); 71 assertCallProperties(mCall, Call.Details.PROPERTY_IS_EXTERNAL_CALL); 72 assertCallCapabilities(mCall, Call.Details.CAPABILITY_CAN_PULL_CALL); 87 mCall.pullExternalCall(); 98 assertCallCapabilities(mCall, 0); 103 mCall.pullExternalCall();
|
MockVideoCallCallback.java | 28 private Call mCall; 40 mCall = call;
|
CallDetailsTest.java | 77 private Call mCall; 120 mCall = mInCallService.getLastCall(); 122 assertCallState(mCall, Call.STATE_DIALING); 134 assertThat(mCall.getDetails().getAccountHandle(), is(PhoneAccountHandle.class)); 135 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); 146 assertThat(mCall.getDetails().getCallCapabilities(), is(Integer.class)); 147 assertEquals(CALL_CAPABILITIES, mCall.getDetails().getCallCapabilities()); 148 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_HOLD)); 149 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_MUTE)); 150 assertFalse(mCall.getDetails().can(Call.Details.CAPABILITY_MANAGE_CONFERENCE)) [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
DialpadPresenter.java | 27 private Call mCall; 33 mCall = CallList.getInstance().getOutgoingOrActive(); 45 mCall = callList.getOutgoingOrActive(); 46 Log.d(this, "DialpadPresenter mCall = " + mCall); 58 if (PhoneNumberUtils.is12Key(c) && mCall != null) { 64 TelecomAdapter.getInstance().playDtmfTone(mCall.getId(), c); 74 if (mCall != null) { 76 TelecomAdapter.getInstance().stopDtmfTone(mCall.getId());
|
InCallVideoCallCallback.java | 33 private Call mCall; 41 mCall = call; 52 int previousVideoState = VideoUtils.getUnPausedVideoState(mCall.getVideoState()); 60 InCallVideoCallCallbackNotifier.getInstance().upgradeToVideoRequest(mCall, 83 mCall.setSessionModificationState( 87 mCall.setSessionModificationState( 90 mCall.setSessionModificationState( 97 mCall.setSessionModificationState(Call.SessionModificationState.NO_REQUEST); 118 InCallVideoCallCallbackNotifier.getInstance().peerDimensionsChanged(mCall, width, height); 128 InCallVideoCallCallbackNotifier.getInstance().videoQualityChanged(mCall, videoQuality) [all...] |
AnswerPresenter.java | 44 private Call mCall = null; 147 mCall = call; 175 mCall = call; 234 if (mCall.getSessionModificationState() 240 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); 250 if (mCall.getSessionModificationState() 254 TelecomAdapter.getInstance().rejectCall(mCall.getId(), false, null); 267 TelecomAdapter.getInstance().rejectCall(mCall.getId(), true, message);
|
VideoPauseController.java | 45 mCall = Preconditions.checkNotNull(call); 60 mCall.getId(), mState, mVideoState); 64 return mCall; 69 private Call mCall;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalConnection.java | 74 private ImsExternalCall mCall; 89 mCall = new ImsExternalCall(phone, this); 108 return mCall; 189 if (mCall == null) { 192 mCall.setActive(); 199 if (mCall == null) { 203 mCall.setTerminated(); 256 if (mCall.getState() == Call.State.ACTIVE) { 258 } else if (mCall.getState() == Call.State.DISCONNECTED) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RingbackPlayer.java | 34 private Call mCall; 53 if (mCall == call) { 58 if (mCall != null) { 64 mCall = call; 78 if (mCall == call) { 81 mCall = null;
|
CreateConnectionProcessor.java | 89 private final Call mCall; 106 mCall = call; 131 if (mCall.getTargetPhoneAccount() != null) { 133 mCall.getTargetPhoneAccount(), mCall.getTargetPhoneAccount())); 136 adjustAttemptsForEmergency(mCall.getTargetPhoneAccount()); 162 ConnectionServiceWrapper service = mCall.getConnectionService(); 164 service.abort(mCall); 165 mCall.clearConnectionService(); 210 mCall.setConnectionManagerPhoneAccount(attempt.connectionManagerPhoneAccount) [all...] |
CreateConnectionTimeout.java | 36 private final Call mCall; 47 mCall = call; 53 if (!mCall.isEmergencyCall()) { 60 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall); 106 if (mIsRegistered && isCallBeingPlaced(mCall)) { 109 mConnectionService.disconnect(mCall);
|
DtmfLocalTonePlayer.java | 42 private Call mCall; 69 if (mCall != call) { 92 if (mCall != call) { 123 mCall = call; 137 if (call != null && mCall == call) { 141 mCall = null;
|
NewOutgoingCallIntentBroadcaster.java | 69 private final Call mCall; 87 mCall = call; 111 Log.i(this, "Received new-outgoing-call-broadcast for %s with data %s", mCall, 126 if (mCall != null) { 127 mCall.disconnect(true /* wasViaNewOutgoingCall */); 133 if (mCall.isDisconnected()) { 135 " ignore the broadcast Call %s", mCall); 157 mCall.setNewOutgoingCallIntentBroadcastIsDone(); 158 mCallsManager.placeOutgoingCall(mCall, resultHandleUri, gatewayInfo, 207 mCall.setNewOutgoingCallIntentBroadcastIsDone() [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
DirectToVoicemailCallFilterTest.java | 39 @Mock private Call mCall; 45 when(mCall.getHandle()).thenReturn(TEST_HANDLE); 56 verify(mCallback).onCallFilteringComplete(mCall, 73 verify(mCallback).onCallFilteringComplete(mCall, 85 filter.startFilterLookup(mCall, mCallback);
|
InCallWakeLockControllerTest.java | 38 @Mock Call mCall; 60 when(mCallsManager.getRingingCall()).thenReturn(mCall); 63 mInCallWakeLockController.onCallAdded(mCall); 73 mInCallWakeLockController.onCallAdded(mCall); 80 when(mCallsManager.getRingingCall()).thenReturn(mCall); 83 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); 93 mInCallWakeLockController.onCallRemoved(mCall); 103 mInCallWakeLockController.onCallRemoved(mCall); 110 when(mCallsManager.getRingingCall()).thenReturn(mCall);
|
ProximitySensorManagerTest.java | 39 @Mock Call mCall; 62 add(mCall); 94 add(mCall);
|
AsyncBlockCheckFilterTest.java | 43 @Mock private Call mCall; 67 when(mCall.getHandle()).thenReturn(TEST_HANDLE); 79 mFilter.startFilterLookup(mCall, mCallback); 82 .onCallFilteringComplete(eq(mCall), eq(BLOCK_RESULT)); 93 mFilter.startFilterLookup(mCall, mCallback); 96 .onCallFilteringComplete(eq(mCall), eq(PASS_RESULT));
|
IncomingCallFilterTest.java | 46 @Mock private Call mCall; 88 when(mCall.getHandle()).thenReturn(TEST_HANDLE); 94 IncomingCallFilter testFilter = new IncomingCallFilter(mContext, mResultCallback, mCall, 97 verify(mFilter1).startFilterLookup(mCall, testFilter); 99 testFilter.onCallFilteringComplete(mCall, RESULT1); 101 verify(mResultCallback).onCallFilteringComplete(eq(mCall), eq(RESULT1)); 112 IncomingCallFilter testFilter = new IncomingCallFilter(mContext, mResultCallback, mCall, 115 verify(mFilter1).startFilterLookup(mCall, testFilter); 116 verify(mFilter2).startFilterLookup(mCall, testFilter); 117 verify(mFilter3).startFilterLookup(mCall, testFilter) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
IncomingCallFilter.java | 42 private final Call mCall; 61 mCall = call; 69 Log.event(mCall, Log.Events.FILTERING_INITIATED); 71 filter.startFilterLookup(mCall, this); 79 Log.event(mCall, Log.Events.FILTERING_TIMED_OUT); 80 mListener.onCallFilteringComplete(mCall, mResult); 97 Log.event(mCall, Log.Events.FILTERING_COMPLETED, mResult); 98 mListener.onCallFilteringComplete(mCall, mResult);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
GLCallGroups.java | 51 private final GLCall mCall; 56 mCall = call; 87 return mCall; 92 private final GLCall mCall; 96 mCall = call; 121 return mCall;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaCallTrackerTest.java | 48 GsmCdmaCall mCall;
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/ |
DialerRingtoneManagerTest.java | 41 @Mock private Call mCall; 109 Mockito.when(mCallList.getActiveCall()).thenReturn(mCall); 168 Mockito.when(mCallList.getActiveCall()).thenReturn(mCall);
|