1syntax = "proto2";
2
3option java_package = "com.android.dialer.callintent";
4option java_multiple_files = true;
5
6
7package com.android.dialer.callintent;
8
9import "java/com/android/dialer/callintent/call_initiation_type.proto";
10import "java/com/android/dialer/callintent/speed_dial_contact_type.proto";
11import "java/com/android/dialer/logging/ui_action.proto";
12
13// Miscellaneous data that's included in a new outgoing call initiated by
14// Dialer. The system will pass this data to the InCallUi which can use it
15// for logging or for something else.
16// Next tag: 15
17message CallSpecificAppData {
18  optional CallInitiationType.Type call_initiation_type = 1;
19
20  optional int32 position_of_selected_search_result = 2;
21
22  optional int32 characters_in_search_string = 3;
23
24  repeated SpeedDialContactType.Type speed_dial_contact_type = 4;
25  optional int32 speed_dial_contact_position = 5;
26
27  optional int64 time_since_app_launch = 6;
28  optional int64 time_since_first_click = 7;
29  // The following two list should be of the same length
30  // (adding another message is not allowed here)
31  repeated com.android.dialer.logging.UiAction.Type
32      ui_actions_since_app_launch = 8;
33  repeated int64 ui_action_timestamps_since_app_launch = 9;
34
35  optional int32 starting_tab_index = 10;
36
37  // For recording the appearance of video call button
38  optional int32 lightbringer_button_appear_in_expanded_call_log_item_count =
39      11;
40  optional int32 lightbringer_button_appear_in_collapsed_call_log_item_count =
41      12;
42  optional int32 lightbringer_button_appear_in_search_count = 13;
43
44  // Indicates that the call is open to modification from assisted dialing.
45  optional bool allow_assisted_dialing = 14;
46}
47