Lines Matching +full:operating +full:- +full:system

4  * Device Detector - The Universal Device Detection library for parsing User Agents
20 * Parses the useragent for operating system information
22 * Detected operating systems can be found in self::$operatingSystems and /regexes/oss.yml
23 …* This class also defined some operating system families and methods to get the family for a speci…
38 * Known operating systems mapped to their internal short codes
98 'HPX' => 'HP-UX',
142 'NWS' => 'NEWS-OS',
191 'SBL' => 'Star-Blade OS',
232 * Operating system families mapped to the short codes of the associated operating systems
267 'Real-time OS' => ['MTK', 'TDX', 'MRE', 'JME', 'REX', 'RXT'],
291 * Operating system families that are known as desktop only
350 * Returns all available operating systems
360 * Returns all available operating system families
399 $this->restoreUserAgentFromClientHints();
401 $osFromClientHints = $this->parseOsFromClientHints();
402 $osFromUserAgent = $this->parseOsFromUserAgent();
436 $version = $this->fireOsVersionMapping[$version]
437 ?? $this->fireOsVersionMapping[$majorVersion] ?? '';
472 $platform = $this->parsePlatform();
479 if (null !== $this->clientHints) {
480 if (\in_array($this->clientHints->getApp(), $androidApps) && 'Android' !== $name) {
487 if ('org.lineageos.jelly' === $this->clientHints->getApp() && 'Lineage OS' !== $name) {
493 $version = $this->lineageOsVersionMapping[$version]
494 ?? $this->lineageOsVersionMapping[$majorVersion] ?? '';
497 if ('org.mozilla.tv.firefox' === $this->clientHints->getApp() && 'Fire OS' !== $name) {
503 …$version = $this->fireOsVersionMapping[$version] ?? $this->fireOsVersionMapping[$majorVersion] ?? …
523 * Returns the operating system family for the given operating system
586 if ($this->clientHints instanceof ClientHints && $this->clientHints->getOperatingSystem()) {
587 $hintName = $this->applyClientHintMapping($this->clientHints->getOperatingSystem());
590 if ($this->fuzzyCompare($hintName, $osName)) {
598 $version = $this->clientHints->getOperatingSystemVersion();
623 'version' => $this->buildVersion($version, []),
639 foreach ($this->getRegexes() as $osRegex) {
640 $matches = $this->matchUserAgent($osRegex['regex']);
648 $name = $this->buildByMatch($osRegex['name'], $matches);
652 ? $this->buildVersion((string) $osRegex['version'], $matches)
656 $matches = $this->matchUserAgent($regex['regex']);
663 … $name = $this->buildByMatch($regex['name'], $matches);
668 $version = $this->buildVersion((string) $regex['version'], $matches);
683 * Parse current UserAgent string for the operating system platform
690 if ($this->clientHints instanceof ClientHints && $this->clientHints->getArchitecture()) {
691 $arch = \strtolower($this->clientHints->getArchitecture());
714 || (false !== \strpos($arch, 'x86') && '64' === $this->clientHints->getBitness())
724 … if ($this->matchUserAgent('arm[ _;)ev]|.*arm$|.*arm64|aarch64|Apple ?TV|Watch ?OS|Watch1,[12]')) {
728 if ($this->matchUserAgent('loongarch64')) {
732 if ($this->matchUserAgent('mips')) {
736 if ($this->matchUserAgent('sh4')) {
740 if ($this->matchUserAgent('sparc64')) {
744 … if ($this->matchUserAgent('64-?bit|WOW64|(?:Intel)?x64|WINDOWS_64|win64|.*amd64|.*x86_?64')) {
748 if ($this->matchUserAgent('.*32bit|.*win32|(?:i[0-9]|x)86|i86pc')) {