Lines Matching +full:super +full:- +full:set

2 # SPDX-License-Identifier: GPL-2.0
15 # Artificial delay between set commands
25 def system_is_secured() -> bool:
34 def __init__(self, data) -> None:
38 super().__init__(data)
40 def setUp(self) -> None:
42 return super().setUp()
44 def tearDown(self) -> None:
47 return super().tearDown()
51 def setUp(self) -> None:
55 super().setUp()
58 def test_unauthenticated_nonce(self) -> None:
65 def __init__(self, data) -> None:
68 super().__init__(data)
70 def setUp(self) -> None:
76 return super().setUp()
78 def test_invalid_nonce_ioctl(self) -> None:
87 def test_invalid_setuid_ioctl(self) -> None:
90 # 0x2 (set uid), and invalid data
96 def test_invalid_setuid_rw_ioctl(self) -> None:
99 # 0x2 as RW (set uid), and invalid data
105 def test_invalid_param_ioctl(self) -> None:
113 def test_invalid_call_ioctl(self) -> None:
123 def setUp(self) -> None:
128 return super().setUp()
130 def test_unauthenticated_nonce(self) -> None:
134 def test_multiple_unauthenticated_nonce(self) -> None:
139 def test_authenticated_nonce(self) -> None:
146 def test_set_uid(self) -> None:
147 """set uid"""
153 def test_get_param(self) -> None:
159 def test_set_param(self) -> None:
160 """set a parameter"""
167 def setup_identity(self) -> None:
183 def setUp(self) -> None:
188 super().setUp()
192 def test_get_valid_param(self) -> None:
206 "fmax-cap": PARAM_GET_FMAX_CAP,
207 "power-cap": PARAM_GET_PWR_CAP,
208 "current-temp": PARAM_GET_CURR_TEMP,
209 "soc-power-cur": PARAM_GET_SOC_PWR_CUR,
215 def test_get_invalid_param(self) -> None:
225 def test_set_fmax(self) -> None:
226 """get/set fmax limit"""
230 # set the fmax
231 target = original[0] - 100
243 def test_set_power_cap(self) -> None:
244 """get/set power cap limit"""
248 # set the fmax
249 target = original[0] - 10
261 def test_set_3d_graphics_mode(self) -> None:
262 """set/get 3d graphics mode"""