Searched refs:sPackageManagerInternal (Results 1 – 4 of 4) sorted by relevance
51 private static PackageManagerInternal sPackageManagerInternal; field in OomAdjusterTests63 sPackageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce()64 doReturn(new ComponentName("", "")).when(sPackageManagerInternal) in setUpOnce()68 LocalServices.addService(PackageManagerInternal.class, sPackageManagerInternal); in setUpOnce()
124 private static PackageManagerInternal sPackageManagerInternal; field in ActivityManagerServiceTest128 sPackageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce()129 doReturn(new ComponentName("", "")).when(sPackageManagerInternal) in setUpOnce()133 LocalServices.addService(PackageManagerInternal.class, sPackageManagerInternal); in setUpOnce()
130 private static PackageManagerInternal sPackageManagerInternal; field in ComponentResolver204 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 …]
134 private static PackageManagerInternal sPackageManagerInternal; field in MockingOomAdjusterTests142 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()