Home
last modified time | relevance | path

Searched refs:callIds (Results 1 – 14 of 14) sorted by relevance

/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DMessageTransportWrapperTest.java126 ArraySet<String> callIds = new ArraySet<>(2); in testRegistrationStateChanged() local
127 callIds.add("callId1"); in testRegistrationStateChanged()
128 callIds.add("callId2"); in testRegistrationStateChanged()
135 callIdConsumer.accept(callIds); in testRegistrationStateChanged()
137 for (String callId : callIds) { in testRegistrationStateChanged()
164 ArraySet<String> callIds = new ArraySet<>(2); in testCloseGracefullyForceCloseCallIds() local
165 callIds.add("callId1"); in testCloseGracefullyForceCloseCallIds()
166 callIds.add("callId2"); in testCloseGracefullyForceCloseCallIds()
175 callIdConsumer.accept(callIds); in testCloseGracefullyForceCloseCallIds()
177 for (String callId : callIds) { in testCloseGracefullyForceCloseCallIds()
[all …]
DTransportSipMessageValidatorTest.java367 ArraySet<String> callIds = new ArraySet<>(1); in setRegStateChangedPendingCallIdsMultipleCalls() local
368 callIds.add("abc"); in setRegStateChangedPendingCallIdsMultipleCalls()
369 doReturn(callIds).when(mSipSessionTracker) in setRegStateChangedPendingCallIdsMultipleCalls()
388 assertEquals(callIds, pendingCallIds); in setRegStateChangedPendingCallIdsMultipleCalls()
396 ArraySet<String> callIds = new ArraySet<>(1); in setRegStateChangedPendingCallIdsTimeout() local
397 callIds.add("abc"); in setRegStateChangedPendingCallIdsTimeout()
398 doReturn(callIds).when(mSipSessionTracker) in setRegStateChangedPendingCallIdsTimeout()
411 assertEquals(callIds, pendingCallIds); in setRegStateChangedPendingCallIdsTimeout()
419 ArraySet<String> callIds = new ArraySet<>(1); in setRegStateChangedPendingCallIdsResolved() local
420 callIds.add("abc"); in setRegStateChangedPendingCallIdsResolved()
[all …]
DSipSessionTrackerTest.java604 Set<String> callIds = Arrays.stream(attrs).map(a -> a.callId).collect( in verifyContainsCallIds() local
607 .containsAll(callIds)); in verifyContainsCallIds()
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java134 assertEquals(state.callIds.size(), 0); in testReadState_NoCall()
146 assertEquals(1, state.callIds.size()); in testReadState_OneCall()
147 assertTrue(state.callIds.contains(101)); in testReadState_OneCall()
205 assertEquals(2, state.callIds.size()); in testReadState_MultipleCalls()
206 assertTrue(state.callIds.contains(101)); in testReadState_MultipleCalls()
207 assertTrue(state.callIds.contains(102)); in testReadState_MultipleCalls()
213 state.callIds = new TreeSet<>(); in testWriteState_NoCalls()
225 state.callIds = new TreeSet<>(); in testWriteState_OneCall()
226 state.callIds.add(101); in testWriteState_OneCall()
239 state.callIds = new TreeSet<>(); in testWriteState_MultipleCalls()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAsyncTaskUtil.java109 public static void markCallAsRead(@NonNull final Context context, @NonNull final long[] callIds) { in markCallAsRead() argument
128 Long[] callIdLongs = new Long[callIds.length]; in markCallAsRead()
129 for (int i = 0; i < callIds.length; i++) { in markCallAsRead()
130 callIdLongs[i] = callIds[i]; in markCallAsRead()
DCallLogListItemViewHolder.java170 public long[] callIds; field in CallLogListItemViewHolder
439 .submit(TASK_DELETE, new DeleteCallTask(context, callIds)); in onMenuItemClick()
967 CallLogAsyncTaskUtil.markCallAsRead(context, callIds); in onClick()
1390 private String concatCallIds(long[] callIds) { in concatCallIds() argument
1391 if (callIds == null || callIds.length == 0) { in concatCallIds()
1396 for (long callId : callIds) { in concatCallIds()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java65 SortedSet<Integer> callIds; field in CallLogBackupAgent.CallLogBackupState
299 SortedSet<Integer> callsToRemove = new TreeSet<>(state.callIds); in runBackup()
305 if (!state.callIds.contains(call.id)) { in runBackup()
313 state.callIds.add(call.id); in runBackup()
329 state.callIds.remove(i); in runBackup()
400 state.callIds = new TreeSet<>(); in readState()
412 state.callIds.add(dataInput.readInt()); in readState()
430 dataOutput.writeInt(state.callIds.size()); in writeState()
431 for (Integer i : state.callIds) { in writeState()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DTransportSipMessageValidator.java130 PendingRegCleanupTask(Set<String> tags, Set<String> callIds) { in PendingRegCleanupTask() argument
132 pendingCallIds = callIds; in PendingRegCleanupTask()
311 mClosingCompleteConsumer = callIds -> { in closeSessionsGracefully()
312 mClosingCompleteConsumer.accept(callIds); in closeSessionsGracefully()
313 closingCompleteConsumer.accept(callIds); in closeSessionsGracefully()
DMessageTransportWrapper.java306 mSipSessionTracker.onRegistrationStateChanged((callIds) -> { in onRegistrationStateChanged() argument
307 for (String id : callIds) { in onRegistrationStateChanged()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java752 List<String> callIds = new ArrayList<>(sCallIdToInfo.keySet()); in dump() local
755 Collections.sort(callIds, (id1, id2) -> { in dump()
774 for (String callId : callIds) { in dump()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java1790 public void onJoinCalls(int requestId, @NonNull List<UUID> callIds) {
1797 if (callIds.size() < 2) {
1801 + callIds.size());
1807 for (UUID callToJoinUuid : callIds) {
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java252 IdPair callIds = startAndMakeActiveOutgoingCall( in testAnalyticsVideo() local
270 mInCallServiceFixtureX.getCall(callIds.mCallId).getVideoCallImpl( in testAnalyticsVideo()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeCallControl.java278 public void onJoinCalls(int requestId, @NonNull List<UUID> callIds) { in onJoinCalls() argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGeneric.java80 List<ParcelUuid> callIds, in Request() argument
85 for (ParcelUuid callId : callIds) { in Request()