Home
last modified time | relevance | path

Searched refs:deviceSupportsSafetyCenter (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterShellCommandsTest.kt28 import com.android.safetycenter.testing.deviceSupportsSafetyCenter
50 assertThat(supported).isEqualTo(context.deviceSupportsSafetyCenter()) in supported_printsSupportedValue()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterShellCommandHandler.java60 boolean deviceSupportsSafetyCenter) { in SafetyCenterShellCommandHandler() argument
63 mDeviceSupportsSafetyCenter = deviceSupportsSafetyCenter; in SafetyCenterShellCommandHandler()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DBaseNotificationListenerCheckTest.java244 assumeTrue(SafetyCenterUtils.deviceSupportsSafetyCenter(sContext)); in assumeDeviceSupportsSafetyCenter()
251 assumeFalse(SafetyCenterUtils.deviceSupportsSafetyCenter(sContext)); in assumeDeviceDoesNotSupportSafetyCenter()
DAccessibilityPrivacySourceTest.kt36 import android.permission.cts.SafetyCenterUtils.deviceSupportsSafetyCenter
104 Assume.assumeTrue(deviceSupportsSafetyCenter(context)) in setup()
DSafetyCenterUtils.kt47 fun deviceSupportsSafetyCenter(context: Context): Boolean { in deviceSupportsSafetyCenter() method
DLocationAccessCheckTest.java772 assumeTrue(SafetyCenterUtils.deviceSupportsSafetyCenter(sContext)); in notificationOnClickOpensSafetyCenter()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSupportsSafetyCenter.kt26 fun Context.deviceSupportsSafetyCenter(): Boolean { in Context() method
DSupportsSafetyCenterRule.kt40 val support = context.deviceSupportsSafetyCenter() in apply()