Home
last modified time | relevance | path

Searched refs:defaultAppProvider (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageHelperTestBase.kt58 lateinit var defaultAppProvider: DefaultAppProvider variable in com.android.server.pm.PackageHelperTestBase
93 defaultAppProvider = rule.mocks().defaultAppProvider in setup()
114 Mockito.doReturn(DEFAULT_HOME_PACKAGE).`when`(defaultAppProvider) in mockKnownPackages()
116 Mockito.doReturn(DIALER_PACKAGE).`when`(defaultAppProvider) in mockKnownPackages()
DMockSystem.kt219 val defaultAppProvider: DefaultAppProvider = mock() constant in com.android.server.pm.Mocks
307 whenever(mocks.injector.defaultAppProvider) { mocks.defaultAppProvider } in stageNominalSystemState()
/frameworks/base/services/core/java/com/android/server/pm/
DKnownPackages.java100 KnownPackages(DefaultAppProvider defaultAppProvider, String requiredInstallerPackage, in KnownPackages() argument
108 mDefaultAppProvider = defaultAppProvider; in KnownPackages()
DPackageManagerServiceTestParams.java52 public DefaultAppProvider defaultAppProvider; field in PackageManagerServiceTestParams
DSuspendPackageHelper.java513 final DefaultAppProvider defaultAppProvider = mInjector.getDefaultAppProvider(); in canSuspendPackageForUser() local
515 defaultAppProvider.getDefaultHome(targetUserId); in canSuspendPackageForUser()
516 final String dialerPackageName = defaultAppProvider.getDefaultDialer(targetUserId); in canSuspendPackageForUser()
DCrossProfileIntentResolverEngine.java70 DefaultAppProvider defaultAppProvider, Context context) { in CrossProfileIntentResolverEngine() argument
73 mDefaultAppProvider = defaultAppProvider; in CrossProfileIntentResolverEngine()
DPackageManagerService.java1883 mDefaultAppProvider = testParams.defaultAppProvider; in PackageManagerService()