Searched refs:permissionRepository (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/viewmodel/v31/ |
D | PermissionUsageViewModel.kt | 54 private val permissionRepository: PermissionRepository, in <lambda>() constant in com.android.permissioncontroller.permission.ui.viewmodel.v31.PermissionUsageViewModel 108 permissionRepository.getPermissionGroupsForPrivacyDashboard() in <lambda>() 151 permissionRepository.getPermissionGroupLabel(context, permissionGroup).toString() in <lambda>() 185 val permissionRepository = PermissionRepository.getInstance(app) in create() constant 187 return PermissionUsageViewModel(app, permissionRepository, permissionUsageUseCase) as T in create()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/ |
D | PermissionUsageViewModelTest.kt | 64 private lateinit var permissionRepository: PermissionRepository variable in com.android.permissioncontroller.tests.mocking.permission.ui.model.PermissionUsageViewModelTest 88 permissionRepository = FakePermissionRepository(permissionFlags) in setup() 111 permissionRepository, in <lambda>() 148 permissionRepository, in <lambda>() 181 permissionRepository, in <lambda>() 205 permissionRepository, in getPermissionGroupUsageUseCase()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/domain/usecase/v31/ |
D | GetPermissionGroupUsageUseCase.kt | 45 private val permissionRepository: PermissionRepository, in <lambda>() constant in com.android.permissioncontroller.permission.domain.usecase.v31.GetPermissionGroupUsageUseCase 181 permissionRepository.getPermissionFlags(permissionName, packageName, userHandle) in <lambda>() 216 val permissionRepository = PermissionRepository.getInstance(app) in <lambda>() constant 220 val appOpRepository = AppOpRepository.getInstance(app, permissionRepository) in <lambda>() 224 permissionRepository, in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/ |
D | AppOpRepository.kt | 56 permissionRepository: PermissionRepository in <lambda>() 60 AppOpRepositoryImpl(application, permissionRepository).also { instance = it } in <lambda>() 67 private val permissionRepository: PermissionRepository, constant 189 val permissionGroups = permissionRepository.getPermissionGroupsForPrivacyDashboard() in getPrivacyDashboardAppOpNames()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/appops/data/repository/ |
D | AppOpRepositoryTest.kt | 77 val permissionRepository = PermissionRepository.getInstance(application) in setup() constant 78 underTest = AppOpRepositoryImpl(application, permissionRepository) in setup()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/domain/usecase/ |
D | GetPermissionUsageUseCaseTest.kt | 353 val permissionRepository = FakePermissionRepository(permissionFlags) in getPackageInfoModel() constant 358 permissionRepository, in getPackageInfoModel()
|