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