Searched refs:enabled (Results 1 - 5 of 5) sorted by relevance

/system/netd/
H A DTetherController.cpp89 char enabled; local
90 if (read(fd, &enabled, 1) != 1) {
97 return (enabled == '1' ? true : false);
/system/vold/
H A DDirectVolume.cpp281 bool enabled; local
283 if (mVm->shareEnabled(getLabel(), "ums", &enabled) == 0 && enabled) {
H A DVolumeManager.h85 int shareEnabled(const char *path, const char *method, bool *enabled);
H A DCommandListener.cpp179 bool enabled = false; local
186 if (vm->shareEnabled(argv[2], argv[3], &enabled)) {
191 (enabled ? "Share enabled" : "Share disabled"), false);
H A DVolumeManager.cpp1161 int VolumeManager::shareEnabled(const char *label, const char *method, bool *enabled) { argument
1175 *enabled = false;
1177 *enabled = true;

Completed in 30 milliseconds