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

  /system/vold/
Ext4.h 24 static int doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount,
26 static int format(const char *fsPath, const char *mountpoint);
Process.h 27 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint);
28 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max);
32 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
Fat.h 25 static int doMount(const char *fsPath, const char *mountPoint,
VolumeManager.cpp 402 char mountPoint[255];
404 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
405 if ((written < 0) || (size_t(written) >= sizeof(mountPoint))) {
406 SLOGE("ASEC fs format failed: couldn't construct mountPoint");
416 formatStatus = Ext4::format(dmDevice, mountPoint);
431 if (mkdir(mountPoint, 0000)) {
433 SLOGE("Mountpoint creation failed (%s)", strerror(errno));
445 mountStatus = Ext4::doMount(dmDevice, mountPoint, false, false, false);
447 mountStatus = Fat::doMount(dmDevice, mountPoint, false, false, false, ownerUid, 0, 0000
    [all...]
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...]
Ext4.cpp 48 int Ext4::doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount,
59 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
64 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
70 int Ext4::format(const char *fsPath, const char *mountpoint) {
79 args[3] = mountpoint;
Fat.cpp 115 int Fat::doMount(const char *fsPath, const char *mountPoint,
146 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
151 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
156 asprintf(&lost_path, "%s/LOST.DIR", mountPoint);
DirectVolume.h 78 int doMountVfat(const char *deviceNode, const char *mountPoint);
VolumeManager.h 124 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;
  /cts/tests/tests/permission/src/android/permission/cts/
FileSystemPermissionTest.java 679 String mountPoint = pm.findMountPointContaining(new File("/system"));
680 assertTrue(mountPoint + " is not mounted read-only", pm.isMountReadOnly(mountPoint));
694 String mountPoint = pm.findMountPointContaining(new File("/system"));
695 assertTrue(mountPoint + " is not mounted read-only", pm.isMountReadOnly(mountPoint));
700 String mountPoint = pm.findMountPointContaining(new File("/"));
701 assertTrue("The root directory \"" + mountPoint + "\" is not mounted read-only",
702 pm.isMountReadOnly(mountPoint));
716 String mountPoint = pm.findMountPointContaining(new File("/"))
    [all...]
  /frameworks/base/core/java/android/os/storage/
IMountService.java 148 public int mountVolume(String mountPoint) throws RemoteException {
154 _data.writeString(mountPoint);
170 public void unmountVolume(String mountPoint, boolean force, boolean removeEncryption)
176 _data.writeString(mountPoint);
191 public int formatVolume(String mountPoint) throws RemoteException {
197 _data.writeString(mountPoint);
229 * Gets the state of a volume via its mountpoint.
231 public String getVolumeState(String mountPoint) throws RemoteException {
237 _data.writeString(mountPoint);
    [all...]
StorageManager.java 552 * Gets the state of a volume via its mountpoint.
555 public String getVolumeState(String mountPoint) {
558 return mMountService.getVolumeState(mountPoint);
  /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);
218 int32_t getVolumeState(const String16& mountPoint)
222 data.writeString16(mountPoint);
    [all...]
  /frameworks/base/core/java/android/os/
FileUtils.java 149 * @param mountPoint point for FAT volume
152 public static native int getFatVolumeId(String mountPoint);
  /external/chromium_org/chrome/installer/mac/
pkg-dmg 323 # If hdiutil attach -mountpoint exists, use it to avoid
339 # Using hdiutil attach -mountpoint didn't always keep images
397 # hdiutil attach does not support -mountpoint
    [all...]
  /frameworks/base/services/java/com/android/server/
MountService.java 727 // FMT: <label> <mountpoint> <state>
807 // FMT: NNN Volume <label> <mountpoint> disk inserted (<major>:<minor>)
808 // FMT: NNN Volume <label> <mountpoint> disk removed (<major>:<minor>)
809 // FMT: NNN Volume <label> <mountpoint> bad removal (<major>:<minor>)
    [all...]
  /prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar 

Completed in 371 milliseconds