summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/logging/contact_lookup_result.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/logging/contact_lookup_result.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/logging/contact_lookup_result.proto')
-rw-r--r--java/com/android/dialer/logging/contact_lookup_result.proto32
1 files changed, 32 insertions, 0 deletions
diff --git a/java/com/android/dialer/logging/contact_lookup_result.proto b/java/com/android/dialer/logging/contact_lookup_result.proto
new file mode 100644
index 000000000..c9624aff1
--- /dev/null
+++ b/java/com/android/dialer/logging/contact_lookup_result.proto
@@ -0,0 +1,32 @@
+syntax = "proto2";
+
+package com.android.dialer.logging;
+option java_package = "com.android.dialer.logging";
+option java_multiple_files = true;
+option optimize_for = LITE_RUNTIME;
+
+
+message ContactLookupResult {
+ // The different results of a contact lookup done using a phone number.
+ enum Type {
+ UNKNOWN_LOOKUP_RESULT_TYPE = 0;
+
+ // Contact was not found in any of the sources.
+ NOT_FOUND = 1;
+
+ // Contact was found in the local database.
+ LOCAL_CONTACT = 2;
+
+ // Contact was found in Google Dialer's internal phone number cache
+ LOCAL_CACHE = 3;
+
+ // Contact was found via Google Caller ID
+ REMOTE = 4;
+
+ // Phone number was an emergency phone number
+ EMERGENCY = 5;
+
+ // Phone number was the SIM card's voicemail number
+ VOICEMAIL = 6;
+ }
+}