Home
last modified time | relevance | path

Searched refs:isToggleable (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DHibernationSwitchPreferenceTest.kt42 import androidx.compose.ui.test.isToggleable
174 composeTestRule.onNode(isToggleable()).assertIsEnabled().assertIsOn() in isArchivingEnabled()
184 composeTestRule.onNode(isToggleable()).assertIsEnabled().assertIsOff() in An app targets Q with ops mode default when hibernation targets R - exempted()
193 composeTestRule.onNode(isToggleable()).assertIsEnabled().assertIsOn() in An app targets R with ops mode default - not exempted()
202 composeTestRule.onNode(isToggleable()).assertIsEnabled().assertIsOn() in An app with ops mode allowed - not exempted()
211 composeTestRule.onNode(isToggleable()).assertIsEnabled().assertIsOff() in An app with ops mode ignored - exempted()
/packages/apps/Settings/src/com/android/settings/nfc/
DSecureNfcEnabler.java52 mPreference.setEnabled(isToggleable()); in handleNfcStateChanged()
63 private boolean isToggleable() { in isToggleable() method in SecureNfcEnabler
DSecureNfcPreferenceController.java64 if (isToggleable()) { in setChecked()
111 private boolean isToggleable() { in isToggleable() method in SecureNfcPreferenceController