Home
last modified time | relevance | path

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

12

/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A 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()
H A 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()
H A 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()
H A 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()
H A DBasicCallTests.java972 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingCallSelectPhoneAccountVideo()
995 com.android.server.telecom.Call call = mTelecomSystem.getCallsManager().getCalls() in testOutgoingCallSelectPhoneAccountNoVideo()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DProximitySensorManager.java45 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
57 if (mCallsManager.getCalls().isEmpty()) { in turnOn()
H A 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()
H A DCallIdMapper.java140 Collection<Call> getCalls() { in getCalls() method in CallIdMapper
H A DCallDiagnosticServiceController.java318 if (mCallIdMapper.getCalls().size() == 0) { in onCallRemoved()
499 for (Call call : mCallIdMapper.getCalls()) { in handleConnectionComplete()
H A DTelecomServiceImpl.java1862 for (Call call : mCallsManager.getCalls()) {
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A 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()
H A DGetOrCreateConversationActionTest.java70 ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testGetOrCreateConversation()
95 calls = mService.getCalls(); in testGetOrCreateConversation()
H A DActionTestHelpers.java145 public ArrayList<StubActionServiceCallLog> getCalls() { in getCalls() method in ActionTestHelpers.StubActionService
/aosp12/packages/apps/Car/Dialer/framework/real/src/com/android/car/dialer/framework/
H A DInCallServiceProxy.java33 return getCalls(); in getCallList()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationLoggerTest.java193 assertEquals(1, mNotificationPanelLoggerFake.getCalls().size()); in testLogPanelShownOnWake()
210 assertEquals(1, mNotificationPanelLoggerFake.getCalls().size()); in testLogPanelShownOnShadePull()
237 assertEquals(1, mNotificationPanelLoggerFake.getCalls().size()); in testLogPanelShownHandlesNullInstanceIds()
H A DNotificationPanelLoggerFake.java28 List<CallRecord> getCalls() { in getCalls() method in NotificationPanelLoggerFake
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
H A DContactPickerFragmentTest.java195 assertTrue(mService.getCalls().get(0).action instanceof GetOrCreateConversationAction); in testPickInitialContact()
221 assertEquals(0, mService.getCalls().size()); in testPickMoreContacts()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationChannelLoggerFake.java35 List<CallRecord> getCalls() { in getCalls() method in NotificationChannelLoggerFake
H A DNotificationRecordLoggerFake.java69 List<CallRecord> getCalls() { in getCalls() method in NotificationRecordLoggerFake
H A DPreferencesHelperTest.java1208 assertEquals(2, mLogger.getCalls().size()); in testDoubleDeleteChannel()
1644 assertEquals(1, mLogger.getCalls().size()); in testCreateChannel_alreadyExists()
1718 assertEquals(7, mLogger.getCalls().size()); in testDeleteGroup()
1872 assertEquals(1, mLogger.getCalls().size()); in testCreateGroup()
1889 assertEquals(0, mLogger.getCalls().size()); in testCannotCreateChannel_badGroup()
2044 assertEquals(3, mLogger.getCalls().size()); in testCreateChannel_addToGroup()
2376 assertEquals(1, mLogger.getCalls().size()); in testAppBlockedLogging()
3767 assertEquals(9, mLogger.getCalls().size()); in testDeleteConversations()
/aosp12/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java508 public final List<Call> getCalls() { in getCalls() method in InCallService
509 return mPhone == null ? Collections.<Call>emptyList() : mPhone.getCalls(); in getCalls()
H A DPhone.java335 public final List<Call> getCalls() { in getCalls() method in Phone
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DChooserActivityLoggerFake.java86 List<CallRecord> getCalls() { in getCalls() method in ChooserActivityLoggerFake
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DDisconnectedCallNotifier.java128 if (mCallsManager.getCalls().isEmpty() && mPendingCallNotification != null) { in onCallRemoved()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
H A DBluetoothInCallService.java1121 return getBluetoothCallsByIds(BluetoothCall.getIds(getCalls())); in getBluetoothCalls()

12