Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DAdditionalPermissionsFragment.kt26 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
152 private fun getBackgroundReadPreference(): HealthSwitchPreference { in <lambda>()
159 return HealthSwitchPreference(requireContext()).also { switchPreference -> in <lambda>()
175 private fun getHistoryReadPreference(appMetadata: AppMetadata): HealthSwitchPreference { in <lambda>()
182 return HealthSwitchPreference(requireContext()).also { switchPreference -> in <lambda>()
DMedicalPermissionsFragment.kt34 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
243 return HealthSwitchPreference(requireContext()).also { in <lambda>()
DFitnessPermissionsFragment.kt36 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
227 return HealthSwitchPreference(requireContext()).also { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessFragmentTest.kt51 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
209 as HealthSwitchPreference? in <lambda>()
250 as HealthSwitchPreference? in <lambda>()
288 as HealthSwitchPreference? in <lambda>()
329 as HealthSwitchPreference? in <lambda>()
375 as HealthSwitchPreference? in <lambda>()
381 as HealthSwitchPreference? in <lambda>()
435 as HealthSwitchPreference? in <lambda>()
441 as HealthSwitchPreference? in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessFragment.kt36 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
59 private val historicReadPref: HealthSwitchPreference by pref(KEY_HISTORY_READ_PERMISSION) in <lambda>()
60 private val backgroundReadPref: HealthSwitchPreference by pref(KEY_BACKGROUND_READ_PERMISSION) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DConnectedAppFragment.kt69 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
112 private val permissionMap: MutableMap<FitnessPermission, HealthSwitchPreference> = in <lambda>()
321 HealthSwitchPreference(requireContext()).also { it -> in <lambda>()
DSettingsManageAppPermissionsFragment.kt63 import com.android.healthconnect.controller.shared.preference.HealthSwitchPreference in <lambda>()
294 HealthSwitchPreference(requireContext()).also { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DHealthSwitchPreference.kt30 open class HealthSwitchPreference in <lambda>() class