• Home
  • Raw
  • Download

Lines Matching refs:de_policy

350     EncryptionPolicy de_policy;  in create_and_install_user_keys()  local
351 if (!install_storage_key(DATA_MNT_POINT, options, de_key, &de_policy)) return false; in create_and_install_user_keys()
352 s_de_policies[user_id] = de_policy; in create_and_install_user_keys()
406 EncryptionPolicy de_policy; in load_all_de_keys() local
407 if (!install_storage_key(DATA_MNT_POINT, options, de_key, &de_policy)) return false; in load_all_de_keys()
408 auto ret = s_de_policies.insert({user_id, de_policy}); in load_all_de_keys()
409 if (!ret.second && ret.first->second != de_policy) { in load_all_de_keys()
564 EncryptionPolicy de_policy; in fscrypt_destroy_user_key() local
565 success &= lookup_policy(s_de_policies, user_id, &de_policy) && in fscrypt_destroy_user_key()
566 android::vold::evictKey(DATA_MNT_POINT, de_policy); in fscrypt_destroy_user_key()
833 EncryptionPolicy de_policy; in fscrypt_prepare_user_storage() local
835 if (!lookup_policy(s_de_policies, user_id, &de_policy)) return false; in fscrypt_prepare_user_storage()
836 if (!EnsurePolicy(de_policy, system_de_path)) return false; in fscrypt_prepare_user_storage()
837 if (!EnsurePolicy(de_policy, misc_de_path)) return false; in fscrypt_prepare_user_storage()
838 if (!EnsurePolicy(de_policy, vendor_de_path)) return false; in fscrypt_prepare_user_storage()
840 if (!read_or_create_volkey(misc_de_path, volume_uuid, &de_policy)) return false; in fscrypt_prepare_user_storage()
842 if (!EnsurePolicy(de_policy, user_de_path)) return false; in fscrypt_prepare_user_storage()