HomeSort by relevance Sort by last modified time
    Searched refs:mountPoint (Results 1 - 10 of 10) sorted by null

  /system/vold/
Process.h 29 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint);
30 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max);
34 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
Process.cpp 52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) {
53 int length = strlen(mountPoint);
54 if (length > 1 && strncmp(path, mountPoint, length) == 0) {
55 // we need to do extra checking if mountPoint does not end in a '/'
56 if (mountPoint[length - 1] == '/')
58 // if mountPoint does not have a trailing slash, we need to make sure
79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) {
80 return checkFileDescriptorSymLinks(pid, mountPoint, NULL, 0);
83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) {
110 if (readSymLink(path, link, sizeof(link)) && pathMatchesMountPoint(link, mountPoint)) {
    [all...]
VolumeManager.cpp 886 char mountPoint[255];
888 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", VolumeManager::ASECDIR, id);
889 if ((written < 0) || (size_t(written) >= sizeof(mountPoint))) {
890 SLOGE("ASEC fs format failed: couldn't construct mountPoint");
900 formatStatus = android::vold::ext4::Format(dmDevice, numImgSectors, mountPoint);
915 if (mkdir(mountPoint, 0000)) {
917 SLOGE("Mountpoint creation failed (%s)", strerror(errno));
929 mountStatus = android::vold::ext4::Mount(dmDevice, mountPoint,
932 mountStatus = android::vold::vfat::Mount(dmDevice, mountPoint,
    [all...]
VolumeManager.h 177 const char *fileName, const char *mountPoint, bool force);
  /frameworks/base/include/storage/
IMountService.h 41 virtual int32_t mountVolume(const String16& mountPoint) = 0;
43 const String16& mountPoint, const bool force, const bool removeEncryption) = 0;
44 virtual int32_t formatVolume(const String16& mountPoint) = 0;
46 getStorageUsers(const String16& mountPoint, int32_t** users) = 0;
47 virtual int32_t getVolumeState(const String16& mountPoint) = 0;
  /hardware/libhardware_legacy/include/hardware_legacy/
IMountService.h 50 virtual String16 getVolumeState(String16 mountPoint) = 0;
  /frameworks/base/libs/storage/
IMountService.cpp 143 int32_t mountVolume(const String16& mountPoint)
147 data.writeString16(mountPoint);
160 int32_t unmountVolume(const String16& mountPoint, const bool force, const bool removeEncryption)
164 data.writeString16(mountPoint);
179 int32_t formatVolume(const String16& mountPoint)
183 data.writeString16(mountPoint);
196 int32_t getStorageUsers(const String16& mountPoint, int32_t** users)
200 data.writeString16(mountPoint);
225 int32_t getVolumeState(const String16& mountPoint)
229 data.writeString16(mountPoint);
    [all...]
  /frameworks/base/core/java/android/os/storage/
IMountService.java 149 public int mountVolume(String mountPoint) throws RemoteException {
155 _data.writeString(mountPoint);
171 public void unmountVolume(String mountPoint, boolean force, boolean removeEncryption)
177 _data.writeString(mountPoint);
192 public int formatVolume(String mountPoint) throws RemoteException {
198 _data.writeString(mountPoint);
230 * Gets the state of a volume via its mountpoint.
232 public String getVolumeState(String mountPoint) throws RemoteException {
238 _data.writeString(mountPoint);
    [all...]
StorageManager.java 843 * Gets the state of a volume via its mountpoint.
847 public @NonNull String getVolumeState(String mountPoint) {
848 final StorageVolume vol = getStorageVolume(new File(mountPoint));
    [all...]
  /frameworks/base/services/core/java/com/android/server/
MountService.java     [all...]

Completed in 167 milliseconds