Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java51 private static PackageManagerInternal sPackageManagerInternal; field in OomAdjusterTests
63 sPackageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce()
64 doReturn(new ComponentName("", "")).when(sPackageManagerInternal) in setUpOnce()
68 LocalServices.addService(PackageManagerInternal.class, sPackageManagerInternal); in setUpOnce()
DActivityManagerServiceTest.java124 private static PackageManagerInternal sPackageManagerInternal; field in ActivityManagerServiceTest
128 sPackageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce()
129 doReturn(new ComponentName("", "")).when(sPackageManagerInternal) in setUpOnce()
133 LocalServices.addService(PackageManagerInternal.class, sPackageManagerInternal); in setUpOnce()
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java130 private static PackageManagerInternal sPackageManagerInternal; field in ComponentResolver
204 sPackageManagerInternal = packageManagerInternal; in ComponentResolver()
309 (PackageSetting) sPackageManagerInternal.getPackageSetting( in queryProviders()
315 AndroidPackage pkg = sPackageManagerInternal.getPackage(p.getPackageName()); in queryProviders()
360 final PackageSetting ps = (PackageSetting) sPackageManagerInternal.getPackageSetting( in queryProvider()
365 final AndroidPackage pkg = sPackageManagerInternal.getPackage(p.getPackageName()); in queryProvider()
390 (PackageSetting) sPackageManagerInternal.getPackageSetting( in querySyncProviders()
396 final AndroidPackage pkg = sPackageManagerInternal.getPackage(p.getPackageName()); in querySyncProviders()
480 sPackageManagerInternal.getKnownPackageNames( in addAllComponents()
485 final PackageSetting disabledPkgSetting = (PackageSetting) sPackageManagerInternal in addAllComponents()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java134 private static PackageManagerInternal sPackageManagerInternal; field in MockingOomAdjusterTests
142 sPackageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce()
143 doReturn(new ComponentName("", "")).when(sPackageManagerInternal) in setUpOnce()
147 LocalServices.addService(PackageManagerInternal.class, sPackageManagerInternal); in setUpOnce()
152 sService.mPackageManagerInt = sPackageManagerInternal; in setUpOnce()