Searched refs:contents_mode (Results 1 – 7 of 7) sorted by relevance
/system/extras/libfscrypt/tests/ |
D | fscrypt_test.cpp | 63 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST() 71 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST() 82 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST() 89 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST() 96 EXPECT_EQ(FSCRYPT_MODE_AES_256_XTS, options.contents_mode); in TEST() 103 EXPECT_EQ(FSCRYPT_MODE_PRIVATE, options.contents_mode); in TEST() 112 EXPECT_EQ(FSCRYPT_MODE_PRIVATE, options.contents_mode); in TEST() 120 EXPECT_EQ(FSCRYPT_MODE_PRIVATE, options.contents_mode); in TEST() 127 EXPECT_EQ(FSCRYPT_MODE_ADIANTUM, options.contents_mode); in TEST() 134 EXPECT_EQ(FSCRYPT_MODE_ADIANTUM, options.contents_mode); in TEST() [all …]
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 145 std::string contents_mode, filenames_mode; in OptionsToStringForApiLevel() local 146 if (!LookupModeById(contents_modes, options.contents_mode, &contents_mode)) { in OptionsToStringForApiLevel() 152 *options_string = contents_mode + ":" + filenames_mode + ":v" + std::to_string(options.version); in OptionsToStringForApiLevel() 187 options->contents_mode = FSCRYPT_MODE_AES_256_XTS; in ParseOptionsForApiLevel() 189 if (!LookupModeByName(contents_modes, parts[0], &options->contents_mode)) { in ParseOptionsForApiLevel() 194 if (options->contents_mode == FSCRYPT_MODE_ADIANTUM) { in ParseOptionsForApiLevel() 246 if (options->contents_mode == FSCRYPT_MODE_ADIANTUM) { in ParseOptionsForApiLevel() 277 ss << " modes " << policy.options.contents_mode << "/" << policy.options.filenames_mode; in PolicyDebugString() 299 kern_policy.v1.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy() 312 kern_policy.v2.contents_encryption_mode = policy.options.contents_mode; in EnsurePolicy()
|
/system/extras/libfscrypt/include/fscrypt/ |
D | fscrypt.h | 34 int contents_mode; member 65 return (lhs.version == rhs.version) && (lhs.contents_mode == rhs.contents_mode) &&
|
/system/vold/ |
D | FsCrypt.cpp | 264 auto contents_mode = android::base::GetProperty("ro.crypto.volume.contents_mode", ""); in get_volume_file_encryption_options() local 273 contents_mode + ":" + filenames_mode); in get_volume_file_encryption_options()
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | property_contexts | 122 ro.crypto.volume.contents_mode u:object_r:exported2_vold_prop:s0 exact string
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | property_contexts | 129 ro.crypto.volume.contents_mode u:object_r:exported2_vold_prop:s0 exact string
|
/system/sepolicy/private/ |
D | property_contexts | 411 ro.crypto.volume.contents_mode u:object_r:vold_config_prop:s0 exact string
|