Searched refs:how (Results 1 - 2 of 2) sorted by relevance

/system/core/init/
H A Dinit.c375 /* The how field should be either SVC_DISABLED, SVC_RESET, or SVC_RESTART */
376 static void service_stop_or_reset(struct service *svc, int how) argument
382 if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) {
384 how = SVC_DISABLED;
389 if (how == SVC_RESET) {
392 svc->flags |= how;
/system/vold/
H A Dcryptfs.c2868 static int cryptfs_enable_all_volumes(struct crypt_mnt_ftr *crypt_ftr, int how, argument
2883 if (how == CRYPTO_ENABLE_WIPE) {
2891 } else if (how == CRYPTO_ENABLE_INPLACE) {
2924 int how = 0; local
2941 how = CRYPTO_ENABLE_WIPE;
2943 how = CRYPTO_ENABLE_INPLACE;
2950 if (how == CRYPTO_ENABLE_INPLACE
2985 if ((how == CRYPTO_ENABLE_INPLACE) && (!strcmp(key_loc, KEY_IN_FOOTER))) {
3067 if (how == CRYPTO_ENABLE_INPLACE) {
3153 if (how
[all...]

Completed in 541 milliseconds