Home
last modified time | relevance | path

Searched refs:recentDecision (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v33/
DReviewPermissionDecisionsViewModel.kt80 for (recentDecision in recentPermissionsLiveData.value!!) { in loadDataAndPostValue() constant
81 val lightPackageInfo = packageToLightPackageInfo[recentDecision.packageName] in loadDataAndPostValue()
85 "Package $recentDecision.packageName " + "is no longer installed" in loadDataAndPostValue()
96 grantedGroups.contains(recentDecision.permissionGroupName) in loadDataAndPostValue()
97 if (currentlyGranted && recentDecision.isGranted) { in loadDataAndPostValue()
98 decisionsToReview.add(recentDecision) in loadDataAndPostValue()
99 } else if (!currentlyGranted && !recentDecision.isGranted) { in loadDataAndPostValue()
100 decisionsToReview.add(recentDecision) in loadDataAndPostValue()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoReviewPermissionDecisionsViewAllFragment.kt88 for (recentDecision in recentDecisions) { in <lambda>() method
91 icon = viewModel.getAppIcon(recentDecision.packageName) in <lambda>()
92 title = viewModel.createPreferenceTitle(recentDecision) in <lambda>()
93 summary = viewModel.createSummaryText(recentDecision) in <lambda>()
96 viewModel.createManageAppPermissionIntent(recentDecision).also { in <lambda>()
DAutoReviewPermissionDecisionsFragment.kt189 val recentDecision = recentDecisions[i] in <lambda>() constant
192 icon = viewModel.getAppIcon(recentDecision.packageName) in <lambda>()
193 title = viewModel.createPreferenceTitle(recentDecision) in <lambda>()
194 summary = viewModel.createSummaryText(recentDecision) in <lambda>()
197 viewModel.createManageAppPermissionIntent(recentDecision).also { in <lambda>()
201 recentDecision.packageName, in <lambda>()
202 recentDecision.permissionGroupName in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/data/v33/
DRecentPermissionDecisionsLiveDataTest.kt41 @Mock lateinit var recentDecision: PermissionDecision variable in com.android.permissioncontroller.tests.mocking.permission.data.v33.RecentPermissionDecisionsLiveDataTest
50 runBlocking { recentPermissionDecisionStorage.storeEvent(recentDecision) } in setup()
71 verify(recentPermissionDecisionsLiveData).postValue(eq(listOf(recentDecision))) in loadDataAndPostValue_postsData()