Searched refs:mStorageManagerMock (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 69 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/ |
D | UserControllerTest.java | 485 verify(mInjector.mStorageManagerMock, times(0)) in testUserLockingFromUserSwitchingForMultipleUsersDelayedLockingMode() 500 verify(mInjector.mStorageManagerMock, times(1)) in testUserLockingFromUserSwitchingForMultipleUsersDelayedLockingMode() 591 verify(mInjector.mStorageManagerMock, times(1)) in setUpAndStartUserInBackground() 601 verify(mInjector.mStorageManagerMock, times(1)) in setUpAndStartProfileInBackground() 631 verify(mInjector.mStorageManagerMock, times(expectLocking ? 1 : 0)) in assertUserLockedOrUnlockedState() 701 private final IStorageManager mStorageManagerMock; field in UserControllerTest.TestInjector 717 mStorageManagerMock = mock(IStorageManager.class); in TestInjector() 788 return mStorageManagerMock; in getStorageManager()
|