1syntax = "proto2";
2
3option java_package = "com.android.dialer.callintent";
4option java_multiple_files = true;
5option optimize_for = LITE_RUNTIME;
6
7
8package com.android.dialer.callintent;
9
10
11
12// Different ways a call can be initiated.
13message CallInitiationType {
14  enum Type {
15    // Initiation type unknown
16    UNKNOWN_INITIATION = 0;
17
18    // Incoming call initiated by Telecom.
19    INCOMING_INITIATION = 1;
20
21    DIALPAD = 2;
22
23    SPEED_DIAL = 3;
24    SPEED_DIAL_DISAMBIG_DIALOG = 20;
25
26    REMOTE_DIRECTORY = 4;
27
28    // Call placed via a search result returned by typing into the dialpad.
29    SMART_DIAL = 5;
30
31    // Call placed via a search result returned by typing into the search box.
32    REGULAR_SEARCH = 6;
33
34    // Call placed via the call log fragment displayed in the main Dialer
35    // activity.
36    CALL_LOG = 7;
37
38    // Call placed via a call log fragment displaying a filtered list of
39    // voicemails.
40    CALL_LOG_FILTER = 8;
41
42    // Call placed via the call log fragment containing voicemails only.
43    VOICEMAIL_LOG = 9;
44
45    // Call placed via the call details screen
46    CALL_DETAILS = 10;
47
48    // Call placed via the quick contacts card
49    QUICK_CONTACTS = 11;
50
51    // Call was placed from outside the Dialer (e.g. CALL intent sent
52    // via third party app)
53    EXTERNAL_INITIATION = 12;
54
55    LAUNCHER_SHORTCUT = 13;
56
57    CALL_COMPOSER = 14;
58
59    MISSED_CALL_NOTIFICATION = 15;
60
61    CALL_SUBJECT_DIALOG = 16;
62
63    IMS_VIDEO_BLOCKED_FALLBACK_TO_VOICE = 17;
64
65    LEGACY_VOICEMAIL_NOTIFICATION = 18;
66
67    VOICEMAIL_ERROR_MESSAGE = 19;
68  }
69}
70