Home
last modified time | relevance | path

Searched refs:ParseOptionsForApiLevel (Results 1 – 4 of 4) sorted by relevance

/system/extras/libfscrypt/tests/
Dfscrypt_test.cpp34 EXPECT_TRUE(ParseOptionsForApiLevel(first_api_level, instring, &options)); in TestString()
70 EXPECT_TRUE(ParseOptionsForApiLevel(30, d, &dummy_options)); in TEST()
78 EXPECT_FALSE(ParseOptionsForApiLevel(29, "blah", &dummy_options)); in TEST()
79 EXPECT_FALSE(ParseOptionsForApiLevel(30, "blah", &dummy_options)); in TEST()
109 EXPECT_FALSE(ParseOptionsForApiLevel(29, "ice:blah", &dummy_options)); in TEST()
140 EXPECT_FALSE(ParseOptionsForApiLevel(29, "adiantum:aes-256-cts", &dummy_options)); in TEST()
141 EXPECT_FALSE(ParseOptionsForApiLevel(30, "adiantum:aes-256-cts", &dummy_options)); in TEST()
142 EXPECT_FALSE(ParseOptionsForApiLevel(29, "aes-256-xts:adiantum", &dummy_options)); in TEST()
143 EXPECT_FALSE(ParseOptionsForApiLevel(30, "aes-256-xts:adiantum", &dummy_options)); in TEST()
169 ParseOptionsForApiLevel(30, "::inlinecrypt_optimized+emmc_optimized", &dummy_options)); in TEST()
[all …]
/system/extras/libfscrypt/
Dfscrypt.cpp170 if (!ParseOptionsForApiLevel(first_api_level, *options_string, &options_check)) { in OptionsToStringForApiLevel()
183 return ParseOptionsForApiLevel(GetFirstApiLevel(), options_string, options); in ParseOptions()
186 bool ParseOptionsForApiLevel(unsigned int first_api_level, const std::string& options_string, in ParseOptionsForApiLevel() function
/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h60 bool ParseOptionsForApiLevel(unsigned int first_api_level, const std::string& options_string,
/system/vold/
DFsCrypt.cpp313 if (!ParseOptionsForApiLevel(first_api_level, options_string, options)) { in get_volume_file_encryption_options()