Home
last modified time | relevance | path

Searched refs:disk (Results 1 – 20 of 20) sorted by relevance

/system/vold/
DVolumeManager.cpp136 auto disk = new android::vold::Disk( in updateVirtualDisk() local
139 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk); in updateVirtualDisk()
225 auto disk = in handleBlockEvent() local
227 handleDiskAdded(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()
249 void VolumeManager::handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk) { in handleDiskAdded() argument
253 LOG(INFO) << "Found disk at " << disk->getEventPath() in handleDiskAdded()
255 mPendingDisks.push_back(disk); in handleDiskAdded()
257 disk->create(); in handleDiskAdded()
258 mDisks.push_back(disk); in handleDiskAdded()
263 for (const auto& disk : mDisks) { in handleDiskChanged() local
[all …]
DVoldNativeService.cpp229 auto disk = VolumeManager::Instance()->findDisk(diskId); in partition() local
230 if (disk == nullptr) { in partition()
235 return translate(disk->partitionPublic()); in partition()
237 return translate(disk->partitionPrivate()); in partition()
239 return translate(disk->partitionMixed(ratio)); in partition()
DVolumeManager.h140 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk);
/system/update_engine/common/
Dutils_unittest.cc111 string disk; in TEST() local
114 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num)); in TEST()
115 EXPECT_EQ("/dev/sda", disk); in TEST()
118 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num)); in TEST()
119 EXPECT_EQ("/dev/sdp", disk); in TEST()
122 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num)); in TEST()
123 EXPECT_EQ("/dev/mmcblk0", disk); in TEST()
126 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num)); in TEST()
127 EXPECT_EQ("/dev/loop", disk); in TEST()
130 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop28p11", &disk, &part_num)); in TEST()
[all …]
/system/core/storaged/
DREADME.properties3 ro.storaged.disk_stats_pub # interval storaged publish disk stats, in seconds
/system/sepolicy/prebuilts/api/29.0/public/
Dsgdisk.te8 # HDIO_GETGEO needed to get the number of disk heads
/system/sepolicy/public/
Dsgdisk.te8 # HDIO_GETGEO needed to get the number of disk heads
/system/sepolicy/prebuilts/api/30.0/public/
Dsgdisk.te8 # HDIO_GETGEO needed to get the number of disk heads
/system/sepolicy/prebuilts/api/29.0/private/
Dadbd.te40 # ignore spurious denials for adbd when disk space is low.
Dsystem_server.te525 # Access to /data/media for measuring disk usage.
529 # Also used for measuring disk usage.
/system/sepolicy/prebuilts/api/30.0/private/
Dadbd.te40 # ignore spurious denials for adbd when disk space is low.
Dsystem_server.te554 # Access to /data/media for measuring disk usage.
558 # Also used for measuring disk usage.
/system/sepolicy/private/
Dadbd.te40 # ignore spurious denials for adbd when disk space is low.
Dsystem_server.te554 # Access to /data/media for measuring disk usage.
558 # Also used for measuring disk usage.
/system/update_engine/
Dupdate_metadata.proto97 // Data is packed into blocks on disk, always starting from the beginning
104 // In general, files are stored sequentially on disk, so it's more efficient
DREADME.md12 * Updates maintain a workable system that remains on the disk during and after
30 partition. The system doesn’t even need any cache space on the disk,
/system/update_engine/update_engine/
Dupdate_metadata.proto97 // Data is packed into blocks on disk, always starting from the beginning
104 // In general, files are stored sequentially on disk, so it's more efficient
/system/sepolicy/prebuilts/api/26.0/private/
Dsystem_server.te398 # Access to /data/media for measuring disk usage.
402 # Also used for measuring disk usage.
/system/sepolicy/prebuilts/api/27.0/private/
Dsystem_server.te426 # Access to /data/media for measuring disk usage.
430 # Also used for measuring disk usage.
/system/sepolicy/prebuilts/api/28.0/private/
Dsystem_server.te460 # Access to /data/media for measuring disk usage.
464 # Also used for measuring disk usage.