Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/connectedapps/
DConnectedAppsViewModel.kt27 import com.android.healthconnect.controller.utils.postValueIfUpdated in <lambda>()
70 _connectedApps.postValueIfUpdated(loadHealthPermissionApps.invoke()) in <lambda>()
76 _connectedApps.postValueIfUpdated( in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragmentViewModel.kt25 import com.android.healthconnect.controller.utils.postValueIfUpdated
45 _connectedApps.postValueIfUpdated(loadHealthPermissionApps.invoke()) in loadConnectedApps()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DAccessViewModel.kt28 import com.android.healthconnect.controller.utils.postValueIfUpdated
54 _appMetadataMap.postValueIfUpdated(WithData(result.data)) in loadAppMetaDataMap()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessViewModel.kt31 import com.android.healthconnect.controller.utils.postValueIfUpdated in <lambda>()
65 _recentAccessApps.postValueIfUpdated(RecentAccessState.WithData(clusters)) in <lambda>()
67 _recentAccessApps.postValueIfUpdated(RecentAccessState.Error) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DMutableLiveDataExtensions.kt20 fun <T> MutableLiveData<T>.postValueIfUpdated(newValue: T) { in postValueIfUpdated() method