summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/callintent/call_initiation_type.proto
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-05-03 10:27:13 -0700
committerEric Erfanian <erfanian@google.com>2017-05-03 12:01:21 -0700
commit8369df095a73a77b3715f8ae7ba06089cebca4ce (patch)
tree1a45d60921e293c6088efeaf4d9c408456f3e0e2 /java/com/android/dialer/callintent/call_initiation_type.proto
parentafa29d4a8659eeffc8d92a6216b154f594eeb895 (diff)
This change reflects the Dialer V10 RC00 branch.
RC00 is based on: branch: dialer-android_release_branch/153304843.1 synced to: 153304843 following the instructions at go/dialer-aosp-release. In this release: * Removes final apache sources. * Uses native lite compilation. More drops will follow with subsequent release candidates until we reach our final v10 release, in cadence with our prebuilt drops. Test: TreeHugger, on device Change-Id: Ic9684057230f9b579c777820c746cd21bf45ec0f
Diffstat (limited to 'java/com/android/dialer/callintent/call_initiation_type.proto')
-rw-r--r--java/com/android/dialer/callintent/call_initiation_type.proto60
1 files changed, 60 insertions, 0 deletions
diff --git a/java/com/android/dialer/callintent/call_initiation_type.proto b/java/com/android/dialer/callintent/call_initiation_type.proto
new file mode 100644
index 000000000..994399fd9
--- /dev/null
+++ b/java/com/android/dialer/callintent/call_initiation_type.proto
@@ -0,0 +1,60 @@
+syntax = "proto2";
+
+option java_package = "com.android.dialer.callintent";
+option java_multiple_files = true;
+option optimize_for = LITE_RUNTIME;
+
+package com.android.dialer.callintent;
+
+
+// Different ways a call can be initiated.
+message CallInitiationType {
+ enum Type {
+ // Initiation type unknown
+ UNKNOWN_INITIATION = 0;
+
+ // Incoming call initiated by Telecom.
+ INCOMING_INITIATION = 1;
+
+ DIALPAD = 2;
+
+ SPEED_DIAL = 3;
+
+ REMOTE_DIRECTORY = 4;
+
+ // Call placed via a search result returned by typing into the dialpad.
+ SMART_DIAL = 5;
+
+ // Call placed via a search result returned by typing into the search box.
+ REGULAR_SEARCH = 6;
+
+ // Call placed via the call log fragment displayed in the main Dialer
+ // activity.
+ CALL_LOG = 7;
+
+ // Call placed via a call log fragment displaying a filtered list of
+ // voicemails.
+ CALL_LOG_FILTER = 8;
+
+ // Call placed via the call log fragment containing voicemails only.
+ VOICEMAIL_LOG = 9;
+
+ // Call placed via the call details screen
+ CALL_DETAILS = 10;
+
+ // Call placed via the quick contacts card
+ QUICK_CONTACTS = 11;
+
+ // Call was placed from outside the Dialer (e.g. CALL intent sent
+ // via third party app)
+ EXTERNAL_INITIATION = 12;
+
+ LAUNCHER_SHORTCUT = 13;
+
+ CALL_COMPOSER = 14;
+
+ MISSED_CALL_NOTIFICATION = 15;
+
+ CALL_SUBJECT_DIALOG = 16;
+ }
+}