Home
last modified time | relevance | path

Searched refs:wearViewModel (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRequestRoleHelper.kt38 val wearViewModel: WearRequestRoleViewModel in <lambda>() constant in com.android.permissioncontroller.role.ui.wear.WearRequestRoleHelper
67 if (!wearViewModel.dontAskAgain()) { in <lambda>()
96 if (!wearViewModel.dontAskAgain()) { in <lambda>()
112 return enabled && (wearViewModel.dontAskAgain() || !wearViewModel.isHolderChecked) in <lambda>()
116 wearViewModel.holderPackageName = in <lambda>()
121 if (wearViewModel.holderPackageName == null) { in <lambda>()
122 wearViewModel.selectedPackageName.value = null in <lambda>()
124 wearViewModel.selectedPackageName.value = packageName in <lambda>()
DWearRequestRoleScreen.kt55 val dontAskAgain = helper.wearViewModel.dontAskAgain.observeAsState(false) in <lambda>()
56 val selectedPackageName = helper.wearViewModel.selectedPackageName.observeAsState(null) in <lambda>()
66 helper.wearViewModel.selectedPackageName.value = packageName in <lambda>()
67 helper.wearViewModel.isHolderChecked = isHolder in <lambda>()
72 helper.wearViewModel.dontAskAgain.value = checked in <lambda>()
DWearRequestRoleFragment.kt51 private lateinit var wearViewModel: WearRequestRoleViewModel in <lambda>() variable in com.android.permissioncontroller.role.ui.wear.WearRequestRoleFragment
106 wearViewModel = in <lambda>()
110 savedInstanceState?.let { wearViewModel.onRestoreInstanceState(it) } in <lambda>()
120 wearViewModel in <lambda>()
309 wearViewModel.onSaveInstanceState(outState) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearPermissionUsageScreen.kt46 wearViewModel: WearPermissionUsageViewModel in <lambda>()
49 val permissionUsagesUiData = wearViewModel.permissionUsagesUiStateLiveData.observeAsState(null) in <lambda>()
50 val showSystem = wearViewModel.showSystemAppsLiveData.observeAsState(false) in <lambda>()
51 val show7Days = wearViewModel.show7DaysLiveData.observeAsState(false) in <lambda>()
63 wearViewModel.updatePermissionUsagesUiStateLiveData(viewModel.updateShowSystem(show)) in <lambda>()
64 wearViewModel.showSystemAppsLiveData.value = viewModel.getShowSystemApps() in <lambda>()
DWearPermissionUsageFragment.kt41 lateinit var wearViewModel: WearPermissionUsageViewModel variable in com.android.permissioncontroller.permission.ui.wear.WearPermissionUsageFragment
52 wearViewModel = in onCreateView()
58 wearViewModel::updatePermissionUsagesUiStateLiveData in onCreateView()
61 setContent { WearPermissionUsageScreen(sessionId, viewModel, wearViewModel) } in onCreateView()
DWearUnusedAppsFragment.kt60 private lateinit var wearViewModel: WearUnusedAppsViewModel in <lambda>() variable in com.android.permissioncontroller.permission.ui.wear.WearUnusedAppsFragment
101 wearViewModel = in <lambda>()
122 wearViewModel.loadingLiveData.value = true in <lambda>()
136 setContent { WearPermissionTheme { WearUnusedAppsScreen(wearViewModel) } } in <lambda>()
235 wearViewModel.infoMsgCategoryVisibilityLiveData.value = !allCategoriesEmpty in <lambda>()
305 wearViewModel.loadingLiveData.value = isLoading in <lambda>()
306 wearViewModel.unusedPeriodCategoryVisibilitiesLiveData.setValue(categoryVisibilities) in <lambda>()
314 wearViewModel.unusedAppChipsLiveData.setValue(map.toMap()) in <lambda>()
DWearAppPermissionGroupsFragment.kt56 private lateinit var wearViewModel: WearAppPermissionUsagesViewModel variable in com.android.permissioncontroller.permission.ui.wear.WearAppPermissionGroupsFragment
95 wearViewModel = in onCreateView()
142 wearViewModel = wearViewModel, in onCreateView()
165 wearViewModel.appPermissionUsages.value = in onPermissionUsagesChanged()
DWearPermissionAppsFragment.kt55 private lateinit var wearViewModel: WearAppPermissionUsagesViewModel in <lambda>() variable in com.android.permissioncontroller.permission.ui.wear.WearPermissionAppsFragment
78 wearViewModel = in <lambda>()
151 wearViewModel, in <lambda>()
171 wearViewModel.appPermissionUsages.value = in <lambda>()
DWearAppPermissionGroupsScreen.kt40 val appPermissionUsages = helper.wearViewModel.appPermissionUsages.observeAsState(emptyList()) in WearAppPermissionGroupsScreen()
DWearPermissionAppsScreen.kt43 val appPermissionUsages = helper.wearViewModel.appPermissionUsages.observeAsState(emptyList()) in WearPermissionAppsScreen()
DWearPermissionAppsHelper.kt40 val wearViewModel: WearAppPermissionUsagesViewModel, in <lambda>() constant in com.android.permissioncontroller.permission.ui.wear.WearPermissionAppsHelper
DWearAppPermissionGroupsHelper.kt60 val wearViewModel: WearAppPermissionUsagesViewModel, in <lambda>() constant in com.android.permissioncontroller.permission.ui.wear.WearAppPermissionGroupsHelper