-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules_gen_device.go
More file actions
82 lines (80 loc) · 8.47 KB
/
Copy pathrules_gen_device.go
File metadata and controls
82 lines (80 loc) · 8.47 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Code generated by uagen from rules/*.yaml; DO NOT EDIT.
package uax
var builtinDeviceRules = []rule{
{pattern: "PlayStation 5", matchType: matchContains, deviceType: "console", deviceVendor: "Sony", deviceModel: "PlayStation 5"},
{pattern: "PlayStation 4", matchType: matchContains, deviceType: "console", deviceVendor: "Sony", deviceModel: "PlayStation 4"},
{pattern: "Xbox Series", matchType: matchContains, deviceType: "console", deviceVendor: "Microsoft", deviceModel: "Xbox Series X|S"},
{pattern: "Xbox One", matchType: matchContains, deviceType: "console", deviceVendor: "Microsoft", deviceModel: "Xbox One"},
{pattern: "Switch", matchType: matchExact, deviceType: "console", deviceVendor: "Nintendo", deviceModel: "Switch"},
{pattern: "Steam Deck", matchType: matchContains, deviceType: "console", deviceVendor: "Valve", deviceModel: "Steam Deck"},
{pattern: "PlayStation", matchType: matchExact, deviceType: "console", deviceVendor: "Sony", deviceModel: ""},
{pattern: "Xbox", matchType: matchExact, deviceType: "console", deviceVendor: "Microsoft", deviceModel: ""},
{pattern: "Nintendo", matchType: matchExact, deviceType: "console", deviceVendor: "Nintendo", deviceModel: ""},
{pattern: "Roku", matchType: matchExact, deviceType: "smarttv", deviceVendor: "Roku", deviceModel: ""},
{pattern: "AppleTV", matchType: matchExact, deviceType: "smarttv", deviceVendor: "Apple", deviceModel: ""},
{pattern: "SmartTV", matchType: matchContains, deviceType: "smarttv", deviceVendor: "", deviceModel: ""},
{pattern: "SMART-TV", matchType: matchContains, deviceType: "smarttv", deviceVendor: "", deviceModel: ""},
{pattern: "Tizen", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "webOS", matchType: matchContains, deviceType: "smarttv", deviceVendor: "LG", deviceModel: ""},
{pattern: "BRAVIA", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Sony", deviceModel: ""},
{pattern: "VIZIO", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Vizio", deviceModel: ""},
{pattern: "FireTV", matchType: matchExact, deviceType: "smarttv", deviceVendor: "Amazon", deviceModel: "Fire TV"},
{pattern: "AFTM", matchType: matchPrefix, deviceType: "smarttv", deviceVendor: "Amazon", deviceModel: "Fire TV Stick"},
{pattern: "Chromecast", matchType: matchExact, deviceType: "smarttv", deviceVendor: "Google", deviceModel: "Chromecast"},
{pattern: "Android TV", matchType: matchContains, deviceType: "smarttv", deviceVendor: "", deviceModel: ""},
{pattern: "Kindle", matchType: matchExact, deviceType: "tablet", deviceVendor: "Amazon", deviceModel: "Kindle"},
{pattern: "KFTT", matchType: matchPrefix, deviceType: "tablet", deviceVendor: "Amazon", deviceModel: "Kindle Fire"},
{pattern: "KFOT", matchType: matchPrefix, deviceType: "tablet", deviceVendor: "Amazon", deviceModel: "Kindle Fire"},
{pattern: "iPhone", matchType: matchContains, deviceType: "mobile", deviceVendor: "Apple", deviceModel: "iPhone"},
{pattern: "iPad", matchType: matchContains, deviceType: "tablet", deviceVendor: "Apple", deviceModel: "iPad"},
{pattern: "iPod", matchType: matchContains, deviceType: "mobile", deviceVendor: "Apple", deviceModel: "iPod"},
{pattern: "Pixel", matchType: matchContains, deviceType: "mobile", deviceVendor: "Google", deviceModel: ""},
{pattern: "SM-S", matchType: matchContains, deviceType: "mobile", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "SM-A", matchType: matchContains, deviceType: "mobile", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "SM-N", matchType: matchContains, deviceType: "mobile", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "SM-G", matchType: matchContains, deviceType: "mobile", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "SM-T", matchType: matchContains, deviceType: "tablet", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "SM-X", matchType: matchContains, deviceType: "tablet", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "Redmi", matchType: matchContains, deviceType: "mobile", deviceVendor: "Xiaomi", deviceModel: ""},
{pattern: "POCO", matchType: matchContains, deviceType: "mobile", deviceVendor: "Xiaomi", deviceModel: ""},
{pattern: "Mi ", matchType: matchContains, deviceType: "mobile", deviceVendor: "Xiaomi", deviceModel: ""},
{pattern: "OnePlus", matchType: matchContains, deviceType: "mobile", deviceVendor: "OnePlus", deviceModel: ""},
{pattern: "HUAWEI", matchType: matchContains, deviceType: "mobile", deviceVendor: "Huawei", deviceModel: ""},
{pattern: "VOG-", matchType: matchContains, deviceType: "mobile", deviceVendor: "Huawei", deviceModel: "P30 Pro"},
{pattern: "OPPO", matchType: matchContains, deviceType: "mobile", deviceVendor: "OPPO", deviceModel: ""},
{pattern: "vivo", matchType: matchContains, deviceType: "mobile", deviceVendor: "Vivo", deviceModel: ""},
{pattern: "Lenovo", matchType: matchContains, deviceType: "mobile", deviceVendor: "Lenovo", deviceModel: ""},
{pattern: "Motorola", matchType: matchContains, deviceType: "mobile", deviceVendor: "Motorola", deviceModel: ""},
{pattern: "moto", matchType: matchContains, deviceType: "mobile", deviceVendor: "Motorola", deviceModel: ""},
{pattern: "Nokia", matchType: matchContains, deviceType: "mobile", deviceVendor: "Nokia", deviceModel: ""},
{pattern: "Surface", matchType: matchContains, deviceType: "tablet", deviceVendor: "Microsoft", deviceModel: "Surface"},
{pattern: "Realme", matchType: matchContains, deviceType: "mobile", deviceVendor: "Realme", deviceModel: ""},
{pattern: "ZTE", matchType: matchContains, deviceType: "mobile", deviceVendor: "ZTE", deviceModel: ""},
{pattern: "Meizu", matchType: matchContains, deviceType: "mobile", deviceVendor: "Meizu", deviceModel: ""},
{pattern: "Asus", matchType: matchContains, deviceType: "mobile", deviceVendor: "Asus", deviceModel: ""},
{pattern: "HTC", matchType: matchContains, deviceType: "mobile", deviceVendor: "HTC", deviceModel: ""},
{pattern: "Sony", matchType: matchContains, deviceType: "mobile", deviceVendor: "Sony", deviceModel: ""},
{pattern: "LG-", matchType: matchContains, deviceType: "mobile", deviceVendor: "LG", deviceModel: ""},
{pattern: "Nexus", matchType: matchContains, deviceType: "mobile", deviceVendor: "Google", deviceModel: ""},
{pattern: "GT-", matchType: matchContains, deviceType: "mobile", deviceVendor: "Samsung", deviceModel: ""},
{pattern: "Infinix", matchType: matchContains, deviceType: "mobile", deviceVendor: "Infinix", deviceModel: ""},
{pattern: "Tecno", matchType: matchContains, deviceType: "mobile", deviceVendor: "Tecno", deviceModel: ""},
{pattern: "Hisense", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Hisense", deviceModel: ""},
{pattern: "Panasonic", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Panasonic", deviceModel: ""},
{pattern: "Philips", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Philips", deviceModel: ""},
{pattern: "Sharp", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Sharp", deviceModel: ""},
{pattern: "TCL", matchType: matchContains, deviceType: "smarttv", deviceVendor: "TCL", deviceModel: ""},
{pattern: "Watch", matchType: matchContains, deviceType: "wearable", deviceVendor: "", deviceModel: ""},
{pattern: "Glass", matchType: matchContains, deviceType: "wearable", deviceVendor: "Google", deviceModel: ""},
{pattern: "Quest", matchType: matchContains, deviceType: "wearable", deviceVendor: "Meta", deviceModel: "Quest"},
{pattern: "Oculus", matchType: matchContains, deviceType: "wearable", deviceVendor: "Meta", deviceModel: "Oculus"},
{pattern: "PICO", matchType: matchContains, deviceType: "wearable", deviceVendor: "ByteDance", deviceModel: ""},
{pattern: "Nook", matchType: matchContains, deviceType: "tablet", deviceVendor: "Barnes & Noble", deviceModel: "Nook"},
{pattern: "Kobo", matchType: matchContains, deviceType: "tablet", deviceVendor: "Rakuten", deviceModel: "Kobo"},
{pattern: "Sonos", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Sonos", deviceModel: ""},
{pattern: "SHIELD", matchType: matchContains, deviceType: "smarttv", deviceVendor: "NVIDIA", deviceModel: "Shield"},
{pattern: "Mi Box", matchType: matchContains, deviceType: "smarttv", deviceVendor: "Xiaomi", deviceModel: "Mi Box"},
{pattern: "Tesla", matchType: matchContains, deviceType: "car", deviceVendor: "Tesla", deviceModel: ""},
{pattern: "CarPlay", matchType: matchContains, deviceType: "car", deviceVendor: "Apple", deviceModel: ""},
{pattern: "Android Auto", matchType: matchContains, deviceType: "car", deviceVendor: "Google", deviceModel: ""},
}