Home
last modified time | relevance | path

Searched refs:isSafetyCenterEnabledWithPermission (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterShellCommandsTest.kt26 …droid.safetycenter.testing.SafetyCenterApisWithShellPermissions.isSafetyCenterEnabledWithPermission
43 assertThat(enabled).isEqualTo(safetyCenterManager.isSafetyCenterEnabledWithPermission()) in enabled_printsEnabledValue()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestHelper.kt37 …droid.safetycenter.testing.SafetyCenterApisWithShellPermissions.isSafetyCenterEnabledWithPermission
203 private fun isEnabled() = safetyCenterManager.isSafetyCenterEnabledWithPermission() in isEnabled()
DSafetyCenterApisWithShellPermissions.kt45 fun SafetyCenterManager.isSafetyCenterEnabledWithPermission(): Boolean = in SafetyCenterManager() method
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterUnsupportedTest.kt39 …droid.safetycenter.testing.SafetyCenterApisWithShellPermissions.isSafetyCenterEnabledWithPermission
95 val isSafetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabledWithPermission() in isSafetyCenterEnabled_withFlagEnabled_returnsFalse()
104 val isSafetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabledWithPermission() in isSafetyCenterEnabled_withFlagDisabled_returnsFalse()
DSafetyCenterManagerTest.kt53 …droid.safetycenter.testing.SafetyCenterApisWithShellPermissions.isSafetyCenterEnabledWithPermission
118 val isSafetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabledWithPermission() in isSafetyCenterEnabled_withFlagEnabled_returnsTrue()
127 val isSafetyCenterEnabled = safetyCenterManager.isSafetyCenterEnabledWithPermission() in isSafetyCenterEnabled_withFlagDisabled_returnsFalse()