Searched refs:mMockSystem (Results 1 – 3 of 3) sorted by relevance
77 private val mMockSystem = MockSystemRule() in <lambda>() constant in com.android.server.pm.SharedLibrariesImplTest82 val mRules = RuleChain.outerRule(mTempFolder).around(mMockSystem)!! in <lambda>()103 mMockSystem.system().stageNominalSystemState() in <lambda>()107 mPms = spy(PackageManagerService(mMockSystem.mocks().injector, in <lambda>()114 mMockSystem.system().validateFinalState() in <lambda>()115 mSettings = mMockSystem.mocks().injector.settings in <lambda>()116 mSharedLibrariesImpl = mMockSystem.mocks().injector.sharedLibrariesImpl in <lambda>()122 whenever(mMockSystem.mocks().injector.getSystemService(StorageManager::class.java)) in <lambda>()130 whenever(mMockSystem.mocks().injector.compatibility).thenReturn(mPlatformCompat) in <lambda>()328 val packageSetting = mMockSystem.system() in <lambda>()[all …]
81 public final MockSystemRule mMockSystem = new MockSystemRule(); field in ApexManagerTest126 mMockSystem.system().stageNominalSystemState(); in setUp()127 mPmService = new PackageManagerService(mMockSystem.mocks().getInjector(), in setUp()134 mMockSystem.system().validateFinalState(); in setUp()471 new File(mMockSystem.system().getApexDirectory(), in testGetBackingApexFiles()489 new File(mMockSystem.system().getApexDirectory(), "com.wrong.apex/apk/App")); in testGetBackingApexFiles_unknownApex_returnsNull()
63 public final MockSystemRule mMockSystem = new MockSystemRule(); field in PackageMonitorCallbackHelperTest