Home
last modified time | relevance | path

Searched refs:mStorageManagerMock (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java69 private StorageManager mStorageManagerMock; field in UserDataPreparerTest
90 .thenReturn(mStorageManagerMock); in setup()
92 when(mStorageManagerMock.getWritablePrivateVolumes()).thenReturn(Arrays.asList(testVolume)); in setup()
103 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
121 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
163 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
181 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java478 verify(mInjector.mStorageManagerMock, times(0)) in testUserLockingFromUserSwitchingForMultipleUsersDelayedLockingMode()
493 verify(mInjector.mStorageManagerMock, times(1)) in testUserLockingFromUserSwitchingForMultipleUsersDelayedLockingMode()
551 verify(mInjector.mStorageManagerMock, times(1)) in setUpAndStartUserInBackground()
568 verify(mInjector.mStorageManagerMock, times(expectLocking ? 1 : 0)) in assertUserLockedOrUnlockedAfterStopping()
633 private final IStorageManager mStorageManagerMock; field in UserControllerTest.TestInjector
649 mStorageManagerMock = mock(IStorageManager.class); in TestInjector()
720 return mStorageManagerMock; in getStorageManager()