/system/vold/ |
H A D | VolumeManager.h | 82 int unmountVolume(const char *label, bool force, bool revert); 107 int destroyAsec(const char *id, bool force); 109 int unmountAsec(const char *id, bool force); 117 int unmountObb(const char *fileName, bool force); 124 const char *fileName, const char *mountPoint, bool force); 129 int cleanupAsec(Volume *v, bool force);
|
H A D | Volume.h | 69 int unmountVol(bool force, bool revert); 100 int doUnmount(const char *path, bool force); 101 int doMoveMount(const char *src, const char *dst, bool force);
|
H A D | Volume.cpp | 530 int Volume::doMoveMount(const char *src, const char *dst, bool force) { argument 546 if (force) { 564 int Volume::doUnmount(const char *path, bool force) { argument 568 SLOGD("Unmounting {%s}, force = %d", path, force); 579 if (force) { 598 int Volume::unmountVol(bool force, bool revert) { argument 614 if (doMoveMount(getMountpoint(), SEC_STGDIR, force)) { 627 if (doUnmount(Volume::SEC_STG_SECIMGDIR, force)) { 637 if (doUnmount(Volume::SEC_ASECDIR_EXT, force)) { [all...] |
H A D | CommandListener.cpp | 143 ((argc == 4 && strcmp(argv[3], "force")) && 145 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false); 149 bool force = false; local 151 if (argc >= 4 && !strcmp(argv[3], "force")) { 152 force = true; 154 force = true; 157 rc = vm->unmountVolume(argv[2], force, revert); 354 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec destroy <container-id> [force]", false); 357 bool force = false; local 358 if (argc > 3 && !strcmp(argv[3], "force")) { 376 bool force = false; local 460 bool force = false; local [all...] |
H A D | VolumeManager.cpp | 658 int VolumeManager::unmountAsec(const char *id, bool force) { argument 675 return unmountLoopImage(id, idHash, asecFileName, mountPoint, force); 678 int VolumeManager::unmountObb(const char *fileName, bool force) { argument 689 return unmountLoopImage(fileName, idHash, fileName, mountPoint, force); 693 const char *fileName, const char *mountPoint, bool force) { 716 if (force) { 774 int VolumeManager::destroyAsec(const char *id, bool force) { argument 789 if (unmountAsec(id, force)) { 1352 int VolumeManager::unmountVolume(const char *label, bool force, bool revert) { argument 1372 cleanupAsec(v, force); 692 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument 1477 cleanupAsec(Volume *v, bool force) argument [all...] |
/system/extras/ext4_utils/ |
H A D | ext4_utils.h | 56 extern int force; 59 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); if (!force) longjmp(setjmp_env, EXIT_FAILURE); } while (0)
|
H A D | make_ext4fs_main.c | 93 force = 1;
|
H A D | ext4_utils.c | 46 int force = 0; variable
|
/system/netd/ |
H A D | BandwidthController.h | 52 int enableBandwidthControl(bool force);
|
H A D | BandwidthController.cpp | 259 int BandwidthController::enableBandwidthControl(bool force) { argument 263 if (!force) {
|
/system/core/toolbox/ |
H A D | dd.c | 489 dd_out(int force) argument 512 for (n = force ? out.dbcnt : out.dbsz;; n = out.dbsz) { 515 if (!force && ddflags & C_SPARSE) {
|