Searched refs:mAmService (Results 1 – 1 of 1) sorted by relevance
107 private ActivityManagerService mAmService; field in SystemServicesTestRule245 mAmService = new ActivityManagerService(new AMTestInjector(mContext), null /* thread */);246 spyOn(mAmService);247 doReturn(mock(IPackageManager.class)).when(mAmService).getPackageManager();248 doNothing().when(mAmService).grantImplicitAccess(252 final ActivityManagerInternal amInternal = mAmService.mInternal;274 mAtmService = new TestActivityTaskManagerService(mContext, mAmService);305 mAmService.setWindowManager(mWmService);