Home
last modified time | relevance | path

Searched refs:getCalls (Results 1 – 19 of 19) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DProximitySensorManagerTest.java70 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ in testTurnOnProximityWithCallsActive()
83 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); in testTurnOnProximityWithNoCallsActive()
105 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ in testCallRemovedFromCallsManagerCallsActive()
118 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); in testCallRemovedFromCallsManagerNoCallsActive()
DVideoCallTests.java169 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testIncomingVideoCallMissedCheckVideoHistory()
186 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testIncomingVideoCallRejectedCheckVideoHistory()
205 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingVideoCallCanceledCheckVideoHistory()
223 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingVideoCallRejectedCheckVideoHistory()
241 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingVideoCallAnsweredAsAudio()
DDisconnectedCallNotifierTest.java87 doReturn(Collections.EMPTY_LIST).when(mCallsManager).getCalls(); in testNotificationShownAfterEmergencyCall()
110 doReturn(Collections.EMPTY_LIST).when(mCallsManager).getCalls(); in testNotificationShownForDisconnectedEmergencyCall()
132 doReturn(Collections.EMPTY_LIST).when(mCallsManager).getCalls(); in testNotificationNotShownAfterCall()
DInCallControllerTests.java515 when(mMockCallsManager.getCalls()).thenReturn(Collections.emptyList()); in testBindToService_SystemDialer_Emergency()
625 when(mMockCallsManager.getCalls()).thenReturn(Collections.singletonList(mMockCall)); in testBindToService_DefaultDialer_FallBackToSystem()
816 when(mMockCallsManager.getCalls()).thenReturn(Collections.singletonList(mMockCall)); in testUnbindDueToCallDisconnect()
831 when(mMockCallsManager.getCalls()).thenReturn(Collections.emptyList()); in testUnbindDueToCallDisconnect()
848 when(mMockCallsManager.getCalls()).thenReturn(Collections.singletonList(mMockCall)); in testUnbindDueToCallDisconnect()
1127 when(mMockCallsManager.getCalls()).thenReturn(Collections.singletonList(mMockCall)); in testBindingFuture()
DBasicCallTests.java963 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingCallSelectPhoneAccountVideo()
986 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingCallSelectPhoneAccountNoVideo()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java75 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testWriteDraft()
134 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testReadDraft()
199 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testReadDraftForNewConversation()
235 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testWriteAndReadDraft()
292 final ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testUpdateDraft()
DGetOrCreateConversationActionTest.java70 ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testGetOrCreateConversation()
95 calls = mService.getCalls(); in testGetOrCreateConversation()
DActionTestHelpers.java145 public ArrayList<StubActionServiceCallLog> getCalls() { in getCalls() method in ActionTestHelpers.StubActionService
/packages/services/Telecomm/src/com/android/server/telecom/
DProximitySensorManager.java45 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
57 if (mCallsManager.getCalls().isEmpty()) { in turnOn()
DInCallController.java769 if (mCallIdMapper.getCalls().isEmpty()) { in addConnections()
773 Call callToConnectWith = mCallIdMapper.getCalls().iterator().next(); in addConnections()
1123 for (Call call : mCallIdMapper.getCalls()) { in updateAllCarrierPrivileged()
1190 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
1198 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
1209 if (mCallIdMapper.getCalls().isEmpty()) { in onCallRemoved()
1874 List<Call> calls = orderCallsWithChildrenFirst(mCallsManager.getCalls()); in onConnected()
2003 if (mCallIdMapper.getCalls().size() == 0) { in addCall()
2294 return mCallIdMapper.getCalls().stream().anyMatch(c -> !c.isExternalCall() in isTrackingManagedAliveCall()
2301 mCallIdMapper.getCalls().stream().anyMatch(Call::getIsVoipAudioMode); in isCarrierPrivilegedUsingMicDuringVoipCall()
DCallDiagnosticServiceController.java318 if (mCallIdMapper.getCalls().size() == 0) { in onCallRemoved()
499 for (Call call : mCallIdMapper.getCalls()) { in handleConnectionComplete()
DCallIdMapper.java140 Collection<Call> getCalls() { in getCalls() method in CallIdMapper
DTelecomServiceImpl.java1843 for (Call call : mCallsManager.getCalls()) {
DCallsManager.java1089 public Collection<Call> getCalls() { in getCalls() method in CallsManager
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java195 assertTrue(mService.getCalls().get(0).action instanceof GetOrCreateConversationAction); in testPickInitialContact()
221 assertEquals(0, mService.getCalls().size()); in testPickMoreContacts()
/packages/apps/Car/Dialer/framework/real/src/com/android/car/dialer/framework/
DInCallServiceProxy.java33 return getCalls(); in getCallList()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java115 when(mInCallService.getCalls()).thenReturn(mListForMockCalls); in setup()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java128 if (mCallsManager.getCalls().isEmpty() && mPendingCallNotification != null) { in onCallRemoved()
/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java1092 return getBluetoothCallsByIds(BluetoothCall.getIds(getCalls())); in getBluetoothCalls()