Home
last modified time | relevance | path

Searched refs:getLiveData (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAllPackageInfosLiveData.kt40 val getLiveData = { user: UserHandle -> UserPackageInfosLiveData[user] } in <lambda>() constant
41 setSourcesToDifference(users, userPackageInfosLiveDatas, getLiveData) { user -> in <lambda>()
DSinglePermGroupPackagesUiInfoLiveData.kt81 val getLiveData = { key: Pair<String, UserHandle> -> in <lambda>() constant
85 val (_, removed) = setSourcesToDifference(pkgs, appPermGroupLiveDatas, getLiveData) { key -> in <lambda>()
DPermGroupsPackagesLiveData.kt48 val getLiveData = { groupName: String -> PermGroupLiveData[groupName] } in <lambda>() constant
49 setSourcesToDifference(groupNames, permGroupLiveDatas, getLiveData) { in <lambda>()
DPermGroupLiveData.kt113 val getLiveData = { packageName: String -> in <lambda>() constant
116 setSourcesToDifference(packageNames, packageLiveDatas, getLiveData) in <lambda>()
DPermGroupsPackagesUiInfoLiveData.kt60 val getLiveData = { groupName: String -> SinglePermGroupPackagesUiInfoLiveData[groupName] } in <lambda>() constant
61 setSourcesToDifference(groupNames, permGroupPackagesLiveDatas, getLiveData) in <lambda>()
DHibernationSettingStateLiveData.kt83 val getLiveData = { groupName: String -> PermStateLiveData[packageName, groupName, user] } in <lambda>() constant
84 setSourcesToDifference(groups, permStateLiveDatas, getLiveData) in <lambda>()
DUserSensitivityLiveData.kt168 val getLiveData = { packageName: String -> LightPackageInfoLiveData[packageName, user] } in <lambda>() constant
169 setSourcesToDifference(packageNames, packageLiveDatas, getLiveData) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt68 val shouldShowSystemLiveData = state.getLiveData(SHOULD_SHOW_SYSTEM_KEY, false) in <lambda>()
69 val hasSystemAppsLiveData = state.getLiveData(HAS_SYSTEM_APPS_KEY, true) in <lambda>()
70 val showAllowAlwaysStringLiveData = state.getLiveData(SHOW_ALWAYS_ALLOWED, false) in <lambda>()
DAppPermissionGroupsViewModel.kt129 val getLiveData = { groupName: String -> in <lambda>() constant
132 setSourcesToDifference(groups, appPermGroupUiInfoLiveDatas, getLiveData) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessListChildFragment.java72 mViewModel.getLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated()
76 List<RoleItem> roleItems = mViewModel.getLiveData().getValue(); in onRoleListChanged()
DSpecialAppAccessListViewModel.java61 public LiveData<List<RoleItem>> getLiveData() { in getLiveData() method in SpecialAppAccessListViewModel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListChildFragment.java85 mViewModel.getLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated()
92 List<RoleItem> roleItems = mViewModel.getLiveData().getValue(); in onRoleListChanged()
DDefaultAppListViewModel.java66 public LiveData<List<RoleItem>> getLiveData() { in getLiveData() method in DefaultAppListViewModel