diff options
Diffstat (limited to 'java/com/android/dialer/logging/contact_lookup_result.proto')
-rw-r--r-- | java/com/android/dialer/logging/contact_lookup_result.proto | 31 |
1 files changed, 31 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..835d7d7dc --- /dev/null +++ b/java/com/android/dialer/logging/contact_lookup_result.proto @@ -0,0 +1,31 @@ +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; + } +} |