/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ProximitySensorManagerTest.java | 70 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 D | VideoCallTests.java | 169 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 D | DisconnectedCallNotifierTest.java | 87 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 D | InCallControllerTests.java | 515 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 D | BasicCallTests.java | 972 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 D | ProximitySensorManager.java | 45 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved() 57 if (mCallsManager.getCalls().isEmpty()) { in turnOn()
|
H A D | InCallController.java | 769 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 D | CallIdMapper.java | 140 Collection<Call> getCalls() { in getCalls() method in CallIdMapper
|
H A D | CallDiagnosticServiceController.java | 318 if (mCallIdMapper.getCalls().size() == 0) { in onCallRemoved() 499 for (Call call : mCallIdMapper.getCalls()) { in handleConnectionComplete()
|
H A D | TelecomServiceImpl.java | 1862 for (Call call : mCallsManager.getCalls()) {
|
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
H A D | ReadWriteDraftMessageActionTest.java | 75 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 D | GetOrCreateConversationActionTest.java | 70 ArrayList<StubActionServiceCallLog> calls = mService.getCalls(); in testGetOrCreateConversation() 95 calls = mService.getCalls(); in testGetOrCreateConversation()
|
H A D | ActionTestHelpers.java | 145 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 D | InCallServiceProxy.java | 33 return getCalls(); in getCallList()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationLoggerTest.java | 193 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 D | NotificationPanelLoggerFake.java | 28 List<CallRecord> getCalls() { in getCalls() method in NotificationPanelLoggerFake
|
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
H A D | ContactPickerFragmentTest.java | 195 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 D | NotificationChannelLoggerFake.java | 35 List<CallRecord> getCalls() { in getCalls() method in NotificationChannelLoggerFake
|
H A D | NotificationRecordLoggerFake.java | 69 List<CallRecord> getCalls() { in getCalls() method in NotificationRecordLoggerFake
|
H A D | PreferencesHelperTest.java | 1208 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 D | InCallService.java | 508 public final List<Call> getCalls() { in getCalls() method in InCallService 509 return mPhone == null ? Collections.<Call>emptyList() : mPhone.getCalls(); in getCalls()
|
H A D | Phone.java | 335 public final List<Call> getCalls() { in getCalls() method in Phone
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | ChooserActivityLoggerFake.java | 86 List<CallRecord> getCalls() { in getCalls() method in ChooserActivityLoggerFake
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | DisconnectedCallNotifier.java | 128 if (mCallsManager.getCalls().isEmpty() && mPendingCallNotification != null) { in onCallRemoved()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/ |
H A D | BluetoothInCallService.java | 1121 return getBluetoothCallsByIds(BluetoothCall.getIds(getCalls())); in getBluetoothCalls()
|