Rasika Navarange | 1f582bc | 2023-07-19 15:50:46 | [diff] [blame] | 1 | -- Copyright 2023 The Chromium Authors |
Rasika Navarange | 8bcfb671 | 2023-06-14 10:31:25 | [diff] [blame] | 2 | -- Use of this source code is governed by a BSD-style license that can be |
| 3 | -- found in the LICENSE file. |
| 4 | |
| 5 | -- Returns hardware class of the device, often use to find device brand |
| 6 | -- and model. |
Rasika Navarange | 0e3d9b6 | 2023-08-23 11:45:03 | [diff] [blame] | 7 | CREATE PERFETTO FUNCTION chrome_hardware_class() |
Rasika Navarange | 156094f6 | 2023-11-09 18:13:09 | [diff] [blame] | 8 | -- Hardware class name. |
Rasika Navarange | 1f582bc | 2023-07-19 15:50:46 | [diff] [blame] | 9 | RETURNS STRING AS |
| 10 | SELECT |
| 11 | str_value |
Victor Hugo Vianna Silva | e30216c | 2025-03-17 19:03:48 | [diff] [blame] | 12 | FROM metadata |
| 13 | WHERE |
| 14 | name = "cr-hardware-class"; |