Home
last modified time | relevance | path

Searched refs:mMockActivityManagerInternal (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodManagerServiceTestBase.java104 @Mock protected ActivityManagerInternal mMockActivityManagerInternal; field in InputMethodManagerServiceTestBase
165 doReturn(mMockActivityManagerInternal) in setUp()
210 when(mMockActivityManagerInternal.isSystemReady()).thenReturn(true); in setUp()
211 when(mMockActivityManagerInternal.getCurrentUserId()).thenReturn(mCallingUserId); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java142 private ActivityManagerInternal mMockActivityManagerInternal; field in GameServiceProviderInstanceImplTest
229 mMockActivityManagerInternal, in setUp()
1173 when(mMockActivityManagerInternal.getPackageNameByPid(processId)).thenReturn( in startProcessForPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java708 protected ActivityManagerInternal mMockActivityManagerInternal; field in BaseShortcutManagerTest
871 mMockActivityManagerInternal = mock(ActivityManagerInternal.class); in setUp()
880 LocalServices.addService(ActivityManagerInternal.class, mMockActivityManagerInternal); in setUp()
974 when(mMockActivityManagerInternal.getUidProcessState(anyInt())).thenReturn( in setUp()