Home
last modified time | relevance | path

Searched refs:buttonConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java169 SecurityButtonConfig buttonConfig = getButtonConfig(); in testManagedNoOwnerName() local
170 assertNotNull(buttonConfig); in testManagedNoOwnerName()
172 buttonConfig.getText()); in testManagedNoOwnerName()
173 assertIsDefaultIcon(buttonConfig.getIcon()); in testManagedNoOwnerName()
182 SecurityButtonConfig buttonConfig = getButtonConfig(); in testManagedOwnerName() local
183 assertNotNull(buttonConfig); in testManagedOwnerName()
186 buttonConfig.getText()); in testManagedOwnerName()
187 assertIsDefaultIcon(buttonConfig.getIcon()); in testManagedOwnerName()
200 SecurityButtonConfig buttonConfig = getButtonConfig(); in testManagedFinancedDeviceWithOwnerName() local
201 assertNotNull(buttonConfig); in testManagedFinancedDeviceWithOwnerName()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt231 val buttonConfig = in <lambda>() constant
237 securityToConfig = { buttonConfig } in <lambda>()
246 assertThat(security!!.icon).isEqualTo(buttonConfig.icon) in <lambda>()
247 assertThat(security.text).isEqualTo(buttonConfig.text) in <lambda>()
251 securityToConfig = { buttonConfig.copy(isClickable = false) } in <lambda>()