Lines Matching full:os

23 …s class also defined some operating system families and methods to get the family for a specific os
35 protected $parserName = 'os';
49 'ARM' => 'Armadillo OS',
53 'AOS' => 'AOSC OS',
60 'BLB' => 'BlackBerry OS',
61 'QNX' => 'BlackBerry Tablet OS',
62 'PAN' => 'blackPanther OS',
63 'BOS' => 'Bliss OS',
69 'CLO' => 'Clear Linux OS',
71 'COS' => 'Chrome OS',
72 'CRS' => 'Chromium OS',
73 'CHN' => 'China OS',
74 'COL' => 'Coolita OS',
84 'FOS' => 'Firefox OS',
85 'FIR' => 'Fire OS',
89 'FRI' => 'FRITZ!OS',
99 'HAI' => 'Haiku OS',
103 'HEL' => 'HELIX OS',
107 'JOL' => 'Joli OS',
111 'KIN' => 'KIN OS',
119 'LEN' => 'Lineage OS',
120 'LIR' => 'Liri OS',
123 'LOS' => 'Lumin OS',
142 'NWS' => 'NEWS-OS',
146 'OS2' => 'OS/2',
157 'PIC' => 'PICO OS',
162 'PUF' => 'Puffin OS',
165 'PIO' => 'Raspberry Pi OS',
170 'REV' => 'Revenge OS',
172 'ROS' => 'RISC OS',
174 'ROK' => 'Roku OS',
177 'REM' => 'Remix OS',
178 'RRS' => 'Resurrection Remix OS',
184 'SAF' => 'Sailfish OS',
188 'SIR' => 'Sirin OS',
191 'SBL' => 'Star-Blade OS',
194 'SYS' => 'Symbian OS',
195 'S40' => 'Symbian OS Series 40',
196 'S60' => 'Symbian OS Series 60',
201 'TIV' => 'TiVo OS',
210 'WER' => 'Wear OS',
212 'WHS' => 'Whale OS',
246 'Chrome OS' => ['COS', 'CRS', 'FYD', 'SEE'],
247 'Firefox OS' => ['FOS', 'KOS'],
252 'RISC OS' => ['ROS'],
267 'Real-time OS' => ['MTK', 'TDX', 'MRE', 'JME', 'REX', 'RXT'],
281 * Contains a list of mappings from OS names we use to known client hint values
296 'AmigaOS', 'IBM', 'GNU/Linux', 'Mac', 'Unix', 'Windows', 'BeOS', 'Chrome OS',
300 * Fire OS version mapping
320 * Lineage OS version mapping
370 * Returns the os name and shot name
408 …// use version from user agent if non was provided in client hints, but os family from useragent m…
420 // If the OS name detected from client hints matches the OS family from user agent
421 … // but the os name is another, we use the one from user agent, as it might be more detailed
429 if ('PICO OS' === $name) {
433 if ('Fire OS' === $name && !empty($osFromClientHints['version'])) {
443 …// Chrome OS is in some cases reported as Linux in client hints, we fix this only if the version m…
445 && 'Chrome OS' === $osFromUserAgent['name']
452 // Chrome OS is in some cases reported as Android in client hints
453 if ('Android' === $name && 'Chrome OS' === $osFromUserAgent['name']) {
487 if ('org.lineageos.jelly' === $this->clientHints->getApp() && 'Lineage OS' !== $name) {
490 $name = 'Lineage OS';
497 if ('org.mozilla.tv.firefox' === $this->clientHints->getApp() && 'Fire OS' !== $name) {
500 $name = 'Fire OS';
545 * Returns true if OS is desktop
547 * @param string $osName OS short name
561 * @param string $os
566 public static function getNameFromId(string $os, ?string $ver = null): ?string argument
568 if (\array_key_exists($os, self::$operatingSystems)) {
569 $osFullName = self::$operatingSystems[$os];
578 * Returns the OS that can be safely detected from client hints
628 * Returns the OS that can be detected from useragent
724 … if ($this->matchUserAgent('arm[ _;)ev]|.*arm$|.*arm64|aarch64|Apple ?TV|Watch ?OS|Watch1,[12]')) {