Home
last modified time | relevance | path

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

/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java83 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/
DCallLogBackupAgent.java61 SortedSet<Integer> callIds; field in CallLogBackupAgent.CallLogBackupState
201 SortedSet<Integer> callsToRemove = new TreeSet<>(state.callIds); in runBackup()
207 if (!state.callIds.contains(call.id)) { in runBackup()
215 state.callIds.add(call.id); in runBackup()
230 state.callIds.remove(i); in runBackup()
277 state.callIds = new TreeSet<>(); in readState()
289 state.callIds.add(dataInput.readInt()); in readState()
307 dataOutput.writeInt(state.callIds.size()); in writeState()
308 for (Integer i : state.callIds) { in writeState()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAsyncTaskUtil.java265 final String callIds, in deleteCalls() argument
276 CallLog.Calls._ID + " IN (" + callIds + ")", null); in deleteCalls()
392 public static void markCallAsRead(final Context context, final long[] callIds) { in markCallAsRead() argument
408 Long[] callIdLongs = new Long[callIds.length]; in markCallAsRead()
409 for (int i = 0; i < callIds.length; i++) { in markCallAsRead()
410 callIdLongs[i] = callIds[i]; in markCallAsRead()
DCallLogAdapter.java180 CallLogAsyncTaskUtil.markCallAsRead(mContext, viewHolder.callIds);
561 views.callIds = getCallIds(c, count); in bindCallLogListViewHolder()
DCallLogListItemViewHolder.java118 public long[] callIds; field in CallLogListItemViewHolder
539 IntentProvider.getCallDetailIntentProvider(rowId, callIds, null)); in bindActionButtons()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java381 final StringBuilder callIds = new StringBuilder(); in onMenuItemClick() local
383 if (callIds.length() != 0) { in onMenuItemClick()
384 callIds.append(","); in onMenuItemClick()
386 callIds.append(ContentUris.parseId(callUri)); in onMenuItemClick()
389 this, callIds.toString(), mCallLogAsyncTaskListener); in onMenuItemClick()