Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DCameraMicIndicatorsPermissionTest.kt142 private val safetyCenterEnabled = callWithShellPermissionIdentity { in <lambda>() constant
229 changeSafetyCenterFlag(safetyCenterEnabled) in <lambda>()
310 testCameraAndMicIndicator(useMic = false, useCamera = true, safetyCenterEnabled = true) in <lambda>()
320 testCameraAndMicIndicator(useMic = true, useCamera = false, safetyCenterEnabled = true) in <lambda>()
335 safetyCenterEnabled = true in <lambda>()
350 safetyCenterEnabled = true in <lambda>()
359 safetyCenterEnabled: Boolean = false, in <lambda>()
395 assertIndicatorsShown(useMic, useCamera, useHotword, chainUsage, safetyCenterEnabled) in <lambda>()
430 safetyCenterEnabled: Boolean = false, in <lambda>()
450 safetyCenterEnabled in <lambda>()
[all …]
/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/rules/
DRequireSafetyCenterRule.kt42 private val safetyCenterEnabled: Boolean by lazy { in <lambda>() constant in android.safetycenter.hostside.rules.RequireSafetyCenterRule
50 assumeTrue("Safety Center is not enabled on test device", safetyCenterEnabled) in apply()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java866 boolean safetyCenterEnabled = in onPropertiesChanged()
869 if (mSafetyCenterEnabled == safetyCenterEnabled) { in onPropertiesChanged()
877 onSafetyCenterEnabledChangedLocked(safetyCenterEnabled); in onPropertiesChanged()
891 private void onSafetyCenterEnabledChangedLocked(boolean safetyCenterEnabled) { in onSafetyCenterEnabledChangedLocked() argument
892 if (safetyCenterEnabled) { in onSafetyCenterEnabledChangedLocked()
898 mSafetyCenterEnabled = safetyCenterEnabled; in onSafetyCenterEnabledChangedLocked()