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