Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAllPackageInfosLiveData.kt36 val getLiveData = { user: UserHandle -> UserPackageInfosLiveData[user] } in <lambda>() constant
37 setSourcesToDifference(users, userPackageInfosLiveDatas, getLiveData) in <lambda>()
DSinglePermGroupPackagesUiInfoLiveData.kt73 val getLiveData = { key: Pair<String, UserHandle> -> in <lambda>() constant
78 setSourcesToDifference(pkgs, appPermGroupLiveDatas, getLiveData) { key -> in <lambda>()
DPermGroupsPackagesLiveData.kt47 val getLiveData = { groupName: String -> PermGroupLiveData[groupName] } in <lambda>() constant
48 setSourcesToDifference(groupNames, permGroupLiveDatas, getLiveData) { in <lambda>()
DPermGroupLiveData.kt114 val getLiveData = { packageName: String -> in <lambda>() constant
117 setSourcesToDifference(packageNames, packageLiveDatas, getLiveData) in <lambda>()
DUserSensitivityLiveData.kt172 val getLiveData = { packageName: String -> LightPackageInfoLiveData[packageName, user] } in <lambda>() constant
173 setSourcesToDifference(packageNames, packageLiveDatas, getLiveData) in <lambda>()
DHibernationSettingStateLiveData.kt90 val getLiveData = { groupName: String -> PermStateLiveData[packageName, groupName, user] } in <lambda>() constant
91 setSourcesToDifference(groups, permStateLiveDatas, getLiveData) in <lambda>()
DPermGroupsPackagesUiInfoLiveData.kt78 val getLiveData = { groupName: String -> SinglePermGroupPackagesUiInfoLiveData[groupName] } in <lambda>() constant
79 setSourcesToDifference(groupNames, permGroupPackagesLiveDatas, getLiveData) in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DDeviceFoldedViewModelTest.java54 assertThat(mViewModel.getLiveData().getValue()).isFalse(); in testLiveData()
59 assertThat(mViewModel.getLiveData().getValue()).isTrue(); in testLiveData()
DDeviceRotationViewModelTest.java53 assertThat(mViewModel.getLiveData().getValue()).isEqualTo(mViewModel.sTestRotation); in testDefaultLiveDataNotNull()
60 assertThat(mViewModel.getLiveData().getValue()).isEqualTo(mViewModel.sTestRotation); in testOnDisplayChange()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessListChildFragment.java73 mViewModel.getLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated()
77 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/permission/ui/model/
DPermissionAppsViewModel.kt93 val shouldShowSystemLiveData = state.getLiveData(SHOULD_SHOW_SYSTEM_KEY, false) in <lambda>()
94 val hasSystemAppsLiveData = state.getLiveData(HAS_SYSTEM_APPS_KEY, true) in <lambda>()
95 val showAllowAlwaysStringLiveData = state.getLiveData(SHOW_ALWAYS_ALLOWED, false) in <lambda>()
DAppPermissionGroupsViewModel.kt167 val getLiveData = { groupName: String -> in <lambda>() constant
170 setSourcesToDifference(groups, appPermGroupUiInfoLiveDatas, getLiveData) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DDeviceFoldedViewModel.java65 public LiveData<Boolean> getLiveData() { in getLiveData() method in DeviceFoldedViewModel
DDeviceRotationViewModel.java98 public LiveData<Integer> getLiveData() { in getLiveData() method in DeviceRotationViewModel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppListViewModel.java82 public LiveData<List<RoleItem>> getLiveData() { in getLiveData() method in DefaultAppListViewModel
DDefaultAppListChildFragment.java89 mViewModel.getLiveData().observe(this, roleItems -> onRoleListChanged()); in onActivityCreated()
99 List<RoleItem> roleItems = mViewModel.getLiveData().getValue(); in onRoleListChanged()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DPermissionUsageDetailsViewModel.kt82 val showSystemLiveData = state.getLiveData(SHOULD_SHOW_SYSTEM_KEY, false) in <lambda>()
83 val show7DaysLiveData = state.getLiveData(SHOULD_SHOW_7_DAYS_KEY, false) in <lambda>()