Searched refs:mPms (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | DeletePackageHelperTest.kt | 48 private lateinit var mPms: PackageManagerService variable in com.android.server.pm.DeletePackageHelperTest 63 mPms = createPackageManagerService() in setup() 64 doAnswer { false }.`when`(mPms).isPackageDeviceAdmin(any(), any()) in setup() 65 doAnswer { null }.`when`(mPms).freezePackageForDelete(any(), any(), any(), any(), any()) in setup() 80 val ps = mPms.mSettings.getPackageLPr("a.data.package") in deleteSystemPackageFailsIfNotAdminAndNotProfile() 85 val dph = DeletePackageHelper(mPms, mock(RemovePackageHelper::class.java), in deleteSystemPackageFailsIfNotAdminAndNotProfile() 96 val ps = mPms.mSettings.getPackageLPr("a.data.package") in deleteSystemPackageFailsIfProfileOfNonAdmin() 104 val dph = DeletePackageHelper(mPms, mock(RemovePackageHelper::class.java), in deleteSystemPackageFailsIfProfileOfNonAdmin() 113 val ps = mPms.mSettings.getPackageLPr("a.data.package") in deleteSystemPackageSucceedsIfAdmin() 117 whenever(mPms.checkPermission(CONTROL_KEYGUARD, "a.data.package", USER_SYSTEM)) in deleteSystemPackageSucceedsIfAdmin() [all …]
|
D | SharedLibrariesImplTest.kt | 85 private lateinit var mPms: PackageManagerService in <lambda>() variable in com.android.server.pm.SharedLibrariesImplTest 107 mPms = spy(PackageManagerService(mMockSystem.mocks().injector, in <lambda>() 118 mComputer = spy(mPms.snapshotComputer()) in <lambda>() 125 doAnswer { mComputer }.`when`(mPms).snapshotComputer() in <lambda>() 199 mSharedLibrariesImpl.pruneUnusedStaticSharedLibraries(mPms.snapshotComputer(), in <lambda>()
|
/frameworks/base/services/java/com/android/server/ |
D | HsumBootUserInitializer.java | 46 private final PackageManagerService mPms; field in HsumBootUserInitializer 86 mPms = pms; in HsumBootUserInitializer() 141 final int bootUser = mUmi.getBootUser(/* waitUntilSet= */ mPms in systemRunning()
|