Home
last modified time | relevance | path

Searched refs:GetOsVersion (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/tests/
Dkeymaster_configuration_test.cpp36 EXPECT_EQ(612334U, GetOsVersion("61.23.34")); in TEST()
37 EXPECT_EQ(680000U, GetOsVersion("681.23.24")); in TEST()
38 EXPECT_EQ(682300U, GetOsVersion("68.231.24")); in TEST()
39 EXPECT_EQ(682324U, GetOsVersion("68.23.241")); in TEST()
40 EXPECT_EQ(60102U, GetOsVersion("6.1.2-extrajunk")); in TEST()
41 EXPECT_EQ(0U, GetOsVersion("extra6.1.2")); in TEST()
47 EXPECT_EQ(60000U, GetOsVersion("6")); in TEST()
48 EXPECT_EQ(680000U, GetOsVersion("68")); in TEST()
49 EXPECT_EQ(680000U, GetOsVersion("681")); in TEST()
50 EXPECT_EQ(60000U, GetOsVersion("6.junk")); in TEST()
[all …]
/system/keymaster/include/keymaster/
Dkeymaster_configuration.h40 uint32_t GetOsVersion(const char* version_string);
46 uint32_t GetOsVersion();
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp79 return ConfigureDevice(dev, GetOsVersion(), GetOsPatchlevel()); in ConfigureDevice()
82 uint32_t GetOsVersion(const char* version_str) { in GetOsVersion() function
105 uint32_t GetOsVersion() { in GetOsVersion() function
107 return GetOsVersion(version.c_str()); in GetOsVersion()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp227 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in AndroidKeymaster3Device()
502 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in CreateKeymasterDevice()
507 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in CreateKeymasterDevice()
512 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in CreateKeymasterDevice()
DAndroidKeymaster4Device.cpp228 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in AndroidKeymaster4Device()
/system/core/trusty/keymaster/
DTrustyKeymaster.cpp35 req.os_version = GetOsVersion(); in Initialize()
/system/core/fastboot/device/
Dvariables.h29 bool GetOsVersion(FastbootDevice* device, const std::vector<std::string>& args,
Dvariables.cpp65 bool GetOsVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetOsVersion() function
Dcommands.cpp110 {FB_VAR_VERSION_OS, {GetOsVersion, nullptr}}, in GetVarHandler()