Searched refs:force (Results 1 - 11 of 11) sorted by relevance

/system/vold/
H A DVolumeManager.h82 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 DVolume.h69 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 DVolume.cpp530 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 (doUnmount(Volume::SEC_ASECDIR_EXT, force)) {
625 if (doUnmount(secure_dir, force)) {
633 if (doUnmount(getMountpoint(), force)) {
[all...]
H A DCommandListener.cpp143 ((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 DVolumeManager.cpp658 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 Dext4_utils.h56 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 Dmake_ext4fs_main.c93 force = 1;
H A Dext4_utils.c46 int force = 0; variable
/system/netd/
H A DBandwidthController.h52 int enableBandwidthControl(bool force);
H A DBandwidthController.cpp234 int BandwidthController::enableBandwidthControl(bool force) { argument
238 if (!force) {
/system/core/toolbox/
H A Ddd.c451 dd_out(int force) argument
474 for (n = force ? out.dbcnt : out.dbsz;; n = out.dbsz) {
477 if (!force && ddflags & C_SPARSE) {

Completed in 98 milliseconds