blob: 7b90730abde4ea8be98a6f28f3d92e094bf2ac28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
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 ContactSource {
// Applies only to reports made from call history. If we have contact
// information for the phone number, this field indicates its source.
// Note that it represents the contact's status on the user's device at the
// time they made the spam report, which could be different from the
// number's status at the time they made or received the call.
// Type definitions are from the CachedContactInfo interface in
// CachedNumberLookupService.java
// When adding new sources here, consider updating the isPeopleApiSource() and
// isBusiness() methods in LookupSourceUtils.java if needed.
enum Type {
UNKNOWN_SOURCE_TYPE = 0;
// Personal contact
SOURCE_TYPE_DIRECTORY = 1;
// Contact from a custom extended directory
SOURCE_TYPE_EXTENDED = 2;
// Business number found via the People API
SOURCE_TYPE_PLACES = 3;
// Non-business number found via the People API
SOURCE_TYPE_PROFILE = 4;
// Number has Caller Name Presentation (CNAP) information. Calls in this
// category would have had ContactLookupResultType NOT_FOUND originally.
SOURCE_TYPE_CNAP = 5;
SOURCE_TYPE_CEQUINT_CALLER_ID = 6;
// A remote source not listed below
SOURCE_TYPE_REMOTE_OTHER = 7;
// Manually-entered caller ID data
SOURCE_TYPE_REMOTE_MANUAL = 8;
// Google Voice short code data
SOURCE_TYPE_REMOTE_GOOGLE_VOICE = 9;
// Customer Service Applications data
SOURCE_TYPE_REMOTE_CSA = 10;
// Knowledge Graph data
SOURCE_TYPE_REMOTE_KNOWLEDGE_GRAPH = 11;
}
}
|