Home
last modified time | relevance | path

Searched refs:mountPoint (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/storage/include/storage/
DIMountService.h42 virtual int32_t mountVolume(const String16& mountPoint) = 0;
44 const String16& mountPoint, const bool force, const bool removeEncryption) = 0;
45 virtual int32_t formatVolume(const String16& mountPoint) = 0;
47 getStorageUsers(const String16& mountPoint, int32_t** users) = 0;
48 virtual int32_t getVolumeState(const String16& mountPoint) = 0;
/frameworks/base/libs/storage/
DIMountService.cpp141 int32_t mountVolume(const String16& mountPoint) in mountVolume() argument
145 data.writeString16(mountPoint); in mountVolume()
158 int32_t unmountVolume(const String16& mountPoint, const bool force, const bool removeEncryption) in unmountVolume() argument
162 data.writeString16(mountPoint); in unmountVolume()
177 int32_t formatVolume(const String16& mountPoint) in formatVolume() argument
181 data.writeString16(mountPoint); in formatVolume()
194 int32_t getStorageUsers(const String16& mountPoint, int32_t** users) in getStorageUsers() argument
198 data.writeString16(mountPoint); in getStorageUsers()
223 int32_t getVolumeState(const String16& mountPoint) in getVolumeState() argument
227 data.writeString16(mountPoint); in getVolumeState()
/frameworks/base/tests/FsVerityTest/block_device_writer/src/com/android/blockdevicewriter/
DBlockDeviceWriter.java58 ITestDevice.MountPointInfo mountPoint = device.getMountPointInfo("/data"); in damageFileAgainstBlockDevice() local
61 if ("f2fs".equals(mountPoint.type)) { in damageFileAgainstBlockDevice()
64 args.add(mountPoint.filesystem); in damageFileAgainstBlockDevice()
/frameworks/base/core/java/android/app/admin/
DSecurityLog.java810 String mountPoint; in redact() local
812 mountPoint = getStringData(0); in redact()
817 mEvent.withNewData(new Object[] {mountPoint, ""}).getBytes()); in redact()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DSdCardEjectionTests.kt216 val mountPoint = device.executeShellCommand("mount") in remount() constant
226 device.executeShellCommand("make_f2fs -U ${volume.fsUuid} $mountPoint") in remount()
/frameworks/base/services/incremental/
DIncrementalService.cpp600 StorageId IncrementalService::createStorage(std::string_view mountPoint, in createStorage() argument
603 LOG(INFO) << "createStorage: " << mountPoint << " | " << int(options); in createStorage()
604 if (!path::isAbsolute(mountPoint)) { in createStorage()
605 LOG(ERROR) << "path is not absolute: " << mountPoint; in createStorage()
609 auto mountNorm = path::normalize(mountPoint); in createStorage()
617 LOG(ERROR) << "Directory " << mountPoint << " is already mounted at storage " << id; in createStorage()
623 LOG(ERROR) << "not requirested create new storage, and it doesn't exist: " << mountPoint; in createStorage()
746 StorageId IncrementalService::createLinkedStorage(std::string_view mountPoint, in createLinkedStorage() argument
749 if (!isValidMountTarget(mountPoint)) { in createLinkedStorage()
775 std::string(storageIt->second.name), path::normalize(mountPoint), in createLinkedStorage()
DIncrementalService.h154 StorageId createStorage(std::string_view mountPoint,
157 StorageId createLinkedStorage(std::string_view mountPoint, StorageId linkedStorage,
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1282 public @NonNull String getVolumeState(String mountPoint) { in getVolumeState() argument
1283 final StorageVolume vol = getStorageVolume(new File(mountPoint)); in getVolumeState()