Searched refs:callIds (Results 1 – 7 of 7) sorted by relevance
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 83 assertEquals(state.callIds.size(), 0); in testReadState_NoCall() 95 assertEquals(1, state.callIds.size()); in testReadState_OneCall() 96 assertTrue(state.callIds.contains(101)); in testReadState_OneCall() 109 assertEquals(2, state.callIds.size()); in testReadState_MultipleCalls() 110 assertTrue(state.callIds.contains(101)); in testReadState_MultipleCalls() 111 assertTrue(state.callIds.contains(102)); in testReadState_MultipleCalls() 117 state.callIds = new TreeSet<>(); in testWriteState_NoCalls() 129 state.callIds = new TreeSet<>(); in testWriteState_OneCall() 130 state.callIds.add(101); in testWriteState_OneCall() 143 state.callIds = new TreeSet<>(); in testWriteState_MultipleCalls() [all …]
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
D | CallLogBackupAgent.java | 59 SortedSet<Integer> callIds; field in CallLogBackupAgent.CallLogBackupState 200 SortedSet<Integer> callsToRemove = new TreeSet<>(state.callIds); in runBackup() 206 if (!state.callIds.contains(call.id)) { in runBackup() 214 state.callIds.add(call.id); in runBackup() 229 state.callIds.remove(i); in runBackup() 279 state.callIds = new TreeSet<>(); in readState() 291 state.callIds.add(dataInput.readInt()); in readState() 309 dataOutput.writeInt(state.callIds.size()); in writeState() 310 for (Integer i : state.callIds) { in writeState()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogAsyncTaskUtil.java | 109 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()
|
D | CallLogListItemViewHolder.java | 170 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()
|
D | CallLogAdapter.java | 400 CallLogAsyncTaskUtil.markCallAsRead(activity, viewHolder.callIds); 979 views.callIds = getCallIds(cursor, count); in createPhoneCallDetails()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 658 List<String> callIds = new ArrayList<>(sCallIdToInfo.keySet()); in dump() local 661 Collections.sort(callIds, (id1, id2) -> { in dump() 680 for (String callId : callIds) { in dump()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 228 IdPair callIds = startAndMakeActiveOutgoingCall( in testAnalyticsVideo() local 246 mInCallServiceFixtureX.getCall(callIds.mCallId).getVideoCallImpl( in testAnalyticsVideo()
|