Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DStorageManagerServiceTest.java49 private StorageManagerService mStorageManagerService; field in StorageManagerServiceTest
81 mStorageManagerService = new StorageManagerService(mRealContext); in setFixtures()
99 mStorageManagerService.getCeStorageEventCallbacks(); in testRegisterLockEventListener()
117 assertThat(mStorageManagerService.getCeStorageEventCallbacks()).isNotNull(); in testDispatchCeStorageLockEvent()
118 int callbackReceiverSize = mStorageManagerService.getCeStorageEventCallbacks().size(); in testDispatchCeStorageLockEvent()
123 mStorageManagerService.getCeStorageEventCallbacks().add(testStorageEventListener); in testDispatchCeStorageLockEvent()
126 mStorageManagerService.dispatchCeStorageLockedEvent(TEST_USER_ID); in testDispatchCeStorageLockEvent()
130 mStorageManagerService.getCeStorageEventCallbacks().remove(testStorageEventListener); in testDispatchCeStorageLockEvent()
135 assertThat(mStorageManagerService.getCeStorageEventCallbacks()).isNotNull(); in assertNumberOfStorageCallbackReceivers()
136 assertThat(mStorageManagerService.getCeStorageEventCallbacks().size()) in assertNumberOfStorageCallbackReceivers()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java235 private StorageManagerService mStorageManagerService; field in StorageManagerService.Lifecycle
243 mStorageManagerService = new StorageManagerService(getContext()); in onStart()
244 publishBinderService("mount", mStorageManagerService); in onStart()
245 mStorageManagerService.start(); in onStart()
251 mStorageManagerService.servicesReady(); in onBootPhase()
253 mStorageManagerService.systemReady(); in onBootPhase()
255 mStorageManagerService.bootCompleted(); in onBootPhase()
262 mStorageManagerService.mCurrentUserId = currentUserId; in onUserSwitching()
267 mStorageManagerService.maybeRemountVolumes(currentUserId); in onUserSwitching()
268 mStorageManagerService.mRemountCurrentUserVolumesOnUnlock = false; in onUserSwitching()
[all …]