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.h71 int unmountVol(bool force, bool revert);
109 int doUnmount(const char *path, bool force);
H A DCommandListener.cpp149 ((argc == 4 && strcmp(argv[3], "force")) &&
151 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false);
155 bool force = false; local
157 if (argc >= 4 && !strcmp(argv[3], "force")) {
158 force = true;
160 force = true;
163 rc = vm->unmountVolume(argv[2], force, revert);
371 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: asec destroy <container-id> [force]", false);
374 bool force = false; local
375 if (argc > 3 && !strcmp(argv[3], "force")) {
393 bool force = false; local
477 bool force = false; local
[all...]
H A DVolume.cpp499 int Volume::doUnmount(const char *path, bool force) { argument
503 SLOGD("Unmounting {%s}, force = %d", path, force);
514 if (force) {
533 int Volume::unmountVol(bool force, bool revert) { argument
556 if (providesAsec && doUnmount(Volume::SEC_ASECDIR_EXT, force) != 0) {
562 if (doUnmount(getFuseMountpoint(), force) != 0) {
568 if (doUnmount(getMountpoint(), force) != 0) {
H A DVolumeManager.cpp748 int VolumeManager::unmountAsec(const char *id, bool force) { argument
775 return unmountLoopImage(id, idHash, asecFileName, mountPoint, force);
778 int VolumeManager::unmountObb(const char *fileName, bool force) { argument
793 return unmountLoopImage(fileName, idHash, fileName, mountPoint, force);
797 const char *fileName, const char *mountPoint, bool force) {
820 if (force) {
878 int VolumeManager::destroyAsec(const char *id, bool force) { argument
903 if (unmountAsec(id, force)) {
1524 int VolumeManager::unmountVolume(const char *label, bool force, bool revert) { argument
1544 cleanupAsec(v, force);
796 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument
1649 cleanupAsec(Volume *v, bool force) argument
[all...]
/system/extras/ext4_utils/
H A Dext4_utils.h57 extern int force;
60 #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.c103 force = 1;
H A Dext4_utils.c47 int force = 0; variable
/system/netd/
H A DBandwidthController.h56 int enableBandwidthControl(bool force);
H A DBandwidthController.cpp250 int BandwidthController::enableBandwidthControl(bool force) { argument
254 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 204 milliseconds