Home
last modified time | relevance | path

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

/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessCheckingService.kt60 private lateinit var systemConfig: SystemConfig in <lambda>() variable
80 systemConfig = SystemConfig.getInstance() in <lambda>()
85 val isLeanback = systemConfig.isLeanback in <lambda>()
86 val configPermissions = systemConfig.permissions in <lambda>()
88 systemConfig.privilegedPermissionAllowlistPackages in <lambda>()
89 val permissionAllowlist = systemConfig.permissionAllowlist in <lambda>()
90 val implicitToSourcePermissions = systemConfig.implicitToSourcePermissions in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceDemoModeTest.kt54 …whenever(rule.mocks().systemConfig.getAndClearPackageToUserTypeWhitelist()).thenReturn(ArrayMap<St… in setUp()
55 …whenever(rule.mocks().systemConfig.getAndClearPackageToUserTypeBlacklist()).thenReturn(ArrayMap<St… in setUp()
DMockSystem.kt203 val systemConfig: SystemConfig = mock() constant in com.android.server.pm.Mocks
294 whenever(mocks.injector.systemConfig).thenReturn(mocks.systemConfig) in stageNominalSystemState()
311 wheneverStatic { SystemConfig.getInstance() }.thenReturn(mocks.systemConfig) in stageNominalSystemState()
312 whenever(mocks.systemConfig.availableFeatures).thenReturn(DEFAULT_AVAILABLE_FEATURES_MAP) in stageNominalSystemState()
313 whenever(mocks.systemConfig.sharedLibraries).thenReturn(DEFAULT_SHARED_LIBRARIES_LIST) in stageNominalSystemState()
314 whenever(mocks.systemConfig.defaultVrComponents).thenReturn(ArraySet()) in stageNominalSystemState()
315 whenever(mocks.systemConfig.hiddenApiWhitelistedApps).thenReturn(ArraySet()) in stageNominalSystemState()
316 whenever(mocks.systemConfig.appMetadataFilePaths).thenReturn(ArrayMap()) in stageNominalSystemState()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationCollector.java66 @NonNull SystemConfig systemConfig) { in DomainVerificationCollector() argument
68 mSystemConfig = systemConfig; in DomainVerificationCollector()
DDomainVerificationService.java170 public DomainVerificationService(@NonNull Context context, @NonNull SystemConfig systemConfig, in DomainVerificationService() argument
173 mSystemConfig = systemConfig; in DomainVerificationService()
175 mCollector = new DomainVerificationCollector(platformCompat, systemConfig); in DomainVerificationService()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationCollectorTest.kt184 val systemConfig = mockThrowOnUnmocked<SystemConfig> { in mockCollector() constant
188 return DomainVerificationCollector(platformCompat, systemConfig) in mockCollector()
/frameworks/base/services/core/java/com/android/server/pm/
DReconcilePackageUtils.java69 KeySetManagerService ksms, Settings settings, SystemConfig systemConfig) in reconcilePackages() argument
199 var allowList = systemConfig.getPackageToSharedUidAllowList(); in reconcilePackages()
DPackageManagerService.java2087 SystemConfig systemConfig = injector.getSystemConfig(); in PackageManagerService() local
2088 mAvailableFeatures = systemConfig.getAvailableFeatures(); in PackageManagerService()
2149 = systemConfig.getSharedLibraries(); in PackageManagerService()
2506 ArrayMap<String, String> paths = systemConfig.getAppMetadataFilePaths(); in PackageManagerService()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt121 private lateinit var systemConfig: SystemConfig in <lambda>() variable in com.android.server.permission.access.permission.PermissionService
157 systemConfig = SystemConfig.getInstance() in <lambda>()
510 val uidPermissions = systemConfig.systemPermissions[uid] ?: return false in <lambda>()
643 val globalGids = systemConfig.globalGids in <lambda>()
1908 systemConfig.splitPermissions in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java455 SystemConfig systemConfig = SystemConfig.getInstance(); in PermissionManagerServiceImpl() local
456 mSystemPermissions = systemConfig.getSystemPermissions(); in PermissionManagerServiceImpl()
457 mGlobalGids = systemConfig.getGlobalGids(); in PermissionManagerServiceImpl()