Home
last modified time | relevance | path

Searched refs:comparePreference (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPreferenceComparisonCallback.kt15 } else comparePreference(oldPreference, newPreference) == 0 in arePreferenceItemsTheSame()
24 } else comparePreference(oldPreference, newPreference) == 0 in arePreferenceContentsTheSame()
27 private fun comparePreference(oldPreference: Preference, newPreference: Preference): Int { in comparePreference() method in com.android.healthconnect.controller.shared.HealthPreferenceComparisonCallback
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoPermissionAppsFragment.java287 KotlinUtils.INSTANCE.sortPreferenceGroup(category, this::comparePreference, false); in onPackagesLoaded()
329 private int comparePreference(Preference lhs, Preference rhs) { in comparePreference() method in AutoPermissionAppsFragment
330 return mViewModel.comparePreference(mCollator, lhs, rhs); in comparePreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java513 KotlinUtils.INSTANCE.sortPreferenceGroup(full, this::comparePreference, false); in onPackagesLoaded()
514 KotlinUtils.INSTANCE.sortPreferenceGroup(scoped, this::comparePreference, false); in onPackagesLoaded()
516 KotlinUtils.INSTANCE.sortPreferenceGroup(category, this::comparePreference, false); in onPackagesLoaded()
545 private int comparePreference(Preference lhs, Preference rhs) { in comparePreference() method in PermissionAppsFragment
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt283 KotlinUtils.sortPreferenceGroup(category, this::comparePreference, false) in <lambda>()
314 private fun comparePreference(lhs: Preference, rhs: Preference): Int { in <lambda>() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt416 fun comparePreference(collator: Collator, lhs: Preference, rhs: Preference): Int { in <lambda>() method