OSDN Git Service

Emulated volumes above private volumes.
authorJeff Sharkey <jsharkey@android.com>
Sun, 12 Apr 2015 23:03:33 +0000 (16:03 -0700)
committerJeff Sharkey <jsharkey@android.com>
Sun, 12 Apr 2015 23:03:40 +0000 (16:03 -0700)
commit3161fb3702830b586b2e36fa9ca4519f59f951b4
tree9f4d31d9913019f4a422b3e382fe3b57e16a2c17
parentce6a913aeac7db94a41362c63bab74092767bb3e
Emulated volumes above private volumes.

When a private volume is mounted, create an emulated volume above it
hosted at the /media path on that device.  That emulated volume is
automatically torn down when unmounting the private volume.

Add "removed" state for volume, which signals to framework that
media has left the building, send when the volume is destroyed.

Bug: 19993667
Change-Id: I1f82b51de578ac5cfcc5d7b9a6fb44f6f25c775c
Disk.cpp
EmulatedVolume.cpp
EmulatedVolume.h
PrivateVolume.cpp
ResponseCode.h
VolumeBase.cpp
VolumeBase.h
VolumeManager.cpp