Lines Matching refs:DATA_MNT_POINT
80 const std::string device_key_dir = std::string() + DATA_MNT_POINT + fscrypt_unencrypted_folder;
84 const std::string user_key_dir = std::string() + DATA_MNT_POINT + "/misc/vold/user_keys";
89 std::string() + DATA_MNT_POINT + "/misc/vold/volume_keys";
229 auto entry = GetEntryForMountPoint(&fstab_default, DATA_MNT_POINT); in get_data_file_encryption_options()
231 LOG(ERROR) << "No mount point entry for " << DATA_MNT_POINT; in get_data_file_encryption_options()
235 LOG(ERROR) << "Unable to parse encryption options for " << DATA_MNT_POINT ": " in get_data_file_encryption_options()
294 if (!install_storage_key(DATA_MNT_POINT, options, ce_key, &ce_policy)) return false; in read_and_install_user_ce_key()
345 if (!install_storage_key(DATA_MNT_POINT, options, de_key, &de_policy)) return false; in create_and_install_user_keys()
348 if (!install_storage_key(DATA_MNT_POINT, options, ce_key, &ce_policy)) return false; in create_and_install_user_keys()
400 if (!install_storage_key(DATA_MNT_POINT, options, de_key, &de_policy)) return false; in load_all_de_keys()
416 if (!android::vold::reloadKeyFromSessionKeyring(DATA_MNT_POINT, it.second)) { in try_reload_ce_keys()
436 if (!install_storage_key(DATA_MNT_POINT, options, device_key, &device_policy)) return false; in fscrypt_initialize_systemwide_keys()
443 std::string options_filename = std::string(DATA_MNT_POINT) + fscrypt_key_mode; in fscrypt_initialize_systemwide_keys()
446 std::string ref_filename = std::string(DATA_MNT_POINT) + fscrypt_key_ref; in fscrypt_initialize_systemwide_keys()
453 if (!install_storage_key(DATA_MNT_POINT, options, per_boot_key, &per_boot_policy)) return false; in fscrypt_initialize_systemwide_keys()
544 success &= android::vold::evictKey(DATA_MNT_POINT, policy); in evict_ce_key()
560 android::vold::evictKey(DATA_MNT_POINT, de_policy); in fscrypt_destroy_user_key()