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