1syntax = "proto2";
2
3option java_package = "com.android.dialer.calldetails";
4option java_multiple_files = true;
5
6
7import "java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto";
8
9package com.android.dialer.calldetails;
10
11message CallDetailsEntries {
12  message CallDetailsEntry {
13    optional int64 call_id = 1;
14    optional int32 call_type = 2;
15    optional int32 features = 3;
16    optional int64 date = 4;
17    optional int64 duration = 5;
18    optional int64 data_usage = 6;
19    repeated enrichedcall.historyquery.proto.HistoryResult history_results = 7;
20    optional bool is_duo_call = 8;
21    optional bool has_rtt_transcript = 9;
22    // A unique ID that could be used to map a call log entry to a {@link
23    // android.telecom.Call}. This is different from call_id which is id of call
24    // log entry.
25    // On pre-Q this will be {@link android.provider.CallLog.Calls#DATE} which
26    // is same as {@link com.android.telecom.Call#getCreationTimeMillis()}.
27    // Starting from Q this will be a call UUID generated by system to associate
28    // a call log to a telecom call.
29    optional string call_mapping_id = 10;
30  }
31
32  repeated CallDetailsEntry entries = 1;
33}
34