Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp148 auto disk = new android::vold::Disk( in updateVirtualDisk() local
151 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk); in updateVirtualDisk()
233 auto disk = in handleBlockEvent() local
235 handleDiskAdded(std::shared_ptr<android::vold::Disk>(disk)); in handleBlockEvent()
257 void VolumeManager::handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk) { in handleDiskAdded() argument
264 LOG(INFO) << "Found disk at " << disk->getEventPath() in handleDiskAdded()
266 mPendingDisks.push_back(disk); in handleDiskAdded()
268 LOG(INFO) << "Found disk at " << disk->getEventPath() in handleDiskAdded()
270 mPendingDisks.push_back(disk); in handleDiskAdded()
272 disk->create(); in handleDiskAdded()
[all …]
DVolumeManager.h92 for (const auto& disk : mDisks) { in findVolumeWithFilter() local
93 for (const auto& vol : disk->getVolumes()) { in findVolumeWithFilter()
211 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk);
DVoldNativeService.cpp241 auto disk = VolumeManager::Instance()->findDisk(diskId); in partition() local
242 if (disk == nullptr) { in partition()
247 return translate(disk->partitionPublic()); in partition()
249 return translate(disk->partitionPrivate()); in partition()
251 return translate(disk->partitionMixed(ratio)); in partition()
/system/update_engine/common/
Dutils_unittest.cc98 string disk; in TEST() local
101 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num)); in TEST()
102 EXPECT_EQ("/dev/sda", disk); in TEST()
105 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num)); in TEST()
106 EXPECT_EQ("/dev/sdp", disk); in TEST()
109 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num)); in TEST()
110 EXPECT_EQ("/dev/mmcblk0", disk); in TEST()
113 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num)); in TEST()
114 EXPECT_EQ("/dev/loop", disk); in TEST()
117 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/prebuilts/api/30.0/public/
Dsgdisk.te8 # HDIO_GETGEO needed to get the number of disk heads
/system/sepolicy/prebuilts/api/31.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/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/prebuilts/api/31.0/private/
Dadbd.te40 # ignore spurious denials for adbd when disk space is low.
Dsystem_server.te607 # Access to /data/media for measuring disk usage.
611 # Also used for measuring disk usage.
/system/sepolicy/private/
Dadbd.te40 # ignore spurious denials for adbd when disk space is low.
Dsystem_server.te607 # Access to /data/media for measuring disk usage.
611 # 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.
/system/apex/docs/
DREADME.md674 * `reserveSpaceForCompressedApex` - reserves space on the disk that in the