Home
last modified time | relevance | path

Searched refs:userIdFlow (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
H A DAppListViewModel.kt93 private val userIdFlow = flowOf(userId) regex
98 .flatMapLatest { it.transform(userIdFlow, appsStateFlow.filterNotNull()) }
102 appListRepository.showSystemPredicate(userIdFlow, showSystem.flow)
110 listModel.filter(this.userIdFlow, option, this.systemFilteredFlow)
H A DAppListModel.kt48 fun transform(userIdFlow: Flow<Int>, appListFlow: Flow<List<ApplicationInfo>>): Flow<List<T>>
55 fun filter(userIdFlow: Flow<Int>, option: Int, recordListFlow: Flow<List<T>>): Flow<List<T>> =
H A DAppListRepository.kt47 userIdFlow: Flow<Int>,
137 userIdFlow: Flow<Int>,
140 userIdFlow.combine(showSystemFlow, ::showSystemPredicate)
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
H A DTogglePermissionAppListPage.kt140 override fun transform(userIdFlow: Flow<Int>, appListFlow: Flow<List<ApplicationInfo>>) =
141 listModel.transform(userIdFlow, appListFlow)
143 override fun filter(userIdFlow: Flow<Int>, option: Int, recordListFlow: Flow<List<T>>) =
144 listModel.filter(userIdFlow, recordListFlow)
H A DAppOpPermissionAppList.kt107 override fun transform(userIdFlow: Flow<Int>, appListFlow: Flow<List<ApplicationInfo>>) =
109 userIdFlow
133 override fun filter(userIdFlow: Flow<Int>, recordListFlow: Flow<List<AppOpPermissionRecord>>) =
H A DTogglePermissionAppList.kt49 fun transform(userIdFlow: Flow<Int>, appListFlow: Flow<List<ApplicationInfo>>): Flow<List<T>> =
65 fun filter(userIdFlow: Flow<Int>, recordListFlow: Flow<List<T>>): Flow<List<T>>
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
H A DAppListViewModelTest.kt95 userIdFlow: Flow<Int>,
135 override fun transform(userIdFlow: Flow<Int>, appListFlow: Flow<List<ApplicationInfo>>) =
H A DAppListRepositoryTest.kt345 userIdFlow = flowOf(ADMIN_USER_ID),
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/tests/testutils/
H A DTestAppListModel.kt33 override fun transform(userIdFlow: Flow<Int>, appListFlow: Flow<List<ApplicationInfo>>) =
H A DTestTogglePermissionAppListModel.kt38 override fun filter(userIdFlow: Flow<Int>, recordListFlow: Flow<List<TestAppRecord>>) =