Searched refs:deviceSupportsSafetyCenter (Results 1 – 8 of 8) sorted by relevance
28 import com.android.safetycenter.testing.deviceSupportsSafetyCenter50 assertThat(supported).isEqualTo(context.deviceSupportsSafetyCenter()) in supported_printsSupportedValue()
60 boolean deviceSupportsSafetyCenter) { in SafetyCenterShellCommandHandler() argument63 mDeviceSupportsSafetyCenter = deviceSupportsSafetyCenter; in SafetyCenterShellCommandHandler()
244 assumeTrue(SafetyCenterUtils.deviceSupportsSafetyCenter(sContext)); in assumeDeviceSupportsSafetyCenter()251 assumeFalse(SafetyCenterUtils.deviceSupportsSafetyCenter(sContext)); in assumeDeviceDoesNotSupportSafetyCenter()
36 import android.permission.cts.SafetyCenterUtils.deviceSupportsSafetyCenter104 Assume.assumeTrue(deviceSupportsSafetyCenter(context)) in setup()
47 fun deviceSupportsSafetyCenter(context: Context): Boolean { in deviceSupportsSafetyCenter() method
772 assumeTrue(SafetyCenterUtils.deviceSupportsSafetyCenter(sContext)); in notificationOnClickOpensSafetyCenter()
26 fun Context.deviceSupportsSafetyCenter(): Boolean { in Context() method
40 val support = context.deviceSupportsSafetyCenter() in apply()