Searched refs:PrefState (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | PrivacyControlsViewModel.kt | 76 data class PrefState(val visible: Boolean, val checked: Boolean, val admin: EnforcedAdmin?) class in com.android.permissioncontroller.safetycenter.ui.model.PrivacyControlsViewModel 78 val controlStateLiveData: SmartUpdateMediatorLiveData<Map<Pref, PrefState>> = 80 SmartUpdateMediatorLiveData<@JvmSuppressWildcards Map<Pref, PrefState>>(), 84 val shownPrefs = mutableMapOf<Pref, PrefState>() in onUpdate() 98 PrefState(visible = true, checked = isClipboardEnabled(), admin = null) in onUpdate() 100 PrefState( in onUpdate() 152 ): PrefState { in getSensorToggleState() 156 return PrefState( in getSensorToggleState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | PrivacyControlsFragment.java | 29 import com.android.permissioncontroller.safetycenter.ui.model.PrivacyControlsViewModel.PrefState; 58 private void setPreferences(Map<Pref, PrefState> prefStates) { in setPreferences() 78 private void setSwitchPreference(Map<Pref, PrefState> prefStates, Pref prefType) { in setSwitchPreference()
|
D | PrivacySubpageFragment.kt | 33 import com.android.permissioncontroller.safetycenter.ui.model.PrivacyControlsViewModel.PrefState in <lambda>() 63 prefStates: Map<Pref, PrefState> -> in <lambda>() 153 private fun renderPrivacyControls(prefStates: Map<Pref, PrefState>) { in <lambda>()
|
D | ClickableDisabledSwitchPreference.java | 34 import com.android.permissioncontroller.safetycenter.ui.model.PrivacyControlsViewModel.PrefState; 100 PrefState prefState, in setupState()
|