Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPackagePermissionsLiveData.kt44 private val packageInfoLiveData = LightPackageInfoLiveData[packageName, user] constant
47 addSource(packageInfoLiveData) { in <lambda>()
48 if (packageInfoLiveData.isInitialized && packageInfoLiveData.value == null) { in <lambda>()
58 val packageInfo = packageInfoLiveData.value ?: return in loadDataAndPostValue()
DPermStateLiveData.kt49 private val packageInfoLiveData = LightPackageInfoLiveData[packageName, user] in <lambda>() constant
56 addSource(packageInfoLiveData) { in <lambda>()
71 if (!packageInfoLiveData.isInitialized || !groupLiveData.isInitialized) { in <lambda>()
75 val packageInfo = packageInfoLiveData.value in <lambda>()
DLightAppPermGroupLiveData.kt54 private val packageInfoLiveData = LightPackageInfoLiveData[packageName, user] in <lambda>() constant
86 addSource(packageInfoLiveData) { packageInfo -> in <lambda>()
87 if (packageInfo == null && packageInfoLiveData.isInitialized) { in <lambda>()
99 val packageInfo = packageInfoLiveData.value ?: return in <lambda>()
DAppPermGroupUiInfoLiveData.kt60 private val packageInfoLiveData = LightPackageInfoLiveData[packageName, user] in <lambda>() constant in com.android.permissioncontroller.permission.data.AppPermGroupUiInfoLiveData
70 addSource(packageInfoLiveData) { in <lambda>()
87 val packageInfo = packageInfoLiveData.value in <lambda>()
92 if (packageInfoLiveData.isInitialized && permGroupLiveData.isInitialized && in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt123 private val packageInfoLiveData = LightPackageInfoLiveData[packageName, user] in <lambda>() constant
176 packageInfo = packageInfoLiveData.getInitializedValue() in <lambda>()
970 return if (packageInfoLiveData.value != null) { in <lambda>()
971 packageInfoLiveData.value!!.targetSdkVersion >= Build.VERSION_CODES.M in <lambda>()