Searched refs:GetOsVersion (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/tests/ |
D | keymaster_configuration_test.cpp | 36 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/ |
D | keymaster_configuration.h | 40 uint32_t GetOsVersion(const char* version_string); 46 uint32_t GetOsVersion();
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 120 return ConfigureDevice(dev, GetOsVersion(), GetOsPatchlevel()); in ConfigureDevice() 123 uint32_t GetOsVersion(const char* version_str) { in GetOsVersion() function 147 uint32_t GetOsVersion() { in GetOsVersion() function 149 return GetOsVersion(version.c_str()); in GetOsVersion()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 226 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in AndroidKeymaster3Device() 507 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in CreateKeymasterDevice() 513 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in CreateKeymasterDevice()
|
D | AndroidKeyMintDevice.cpp | 220 context->SetSystemVersion(::keymaster::GetOsVersion(), in AndroidKeyMintDevice()
|
D | AndroidKeymaster4Device.cpp | 226 context->SetSystemVersion(GetOsVersion(), GetOsPatchlevel()); in AndroidKeymaster4Device()
|
/system/core/fastboot/device/ |
D | variables.h | 29 bool GetOsVersion(FastbootDevice* device, const std::vector<std::string>& args,
|
D | variables.cpp | 71 bool GetOsVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetOsVersion() function
|
D | commands.cpp | 120 {FB_VAR_VERSION_OS, {GetOsVersion, nullptr}}, in GetVarHandler()
|
/system/core/trusty/keymaster/ |
D | TrustyKeymaster.cpp | 71 req.os_version = GetOsVersion(); in Initialize()
|