Searched refs:ParseOsVersion (Results 1 – 4 of 4) sorted by relevance
/system/core/fastboot/ |
D | fastboot_test.cpp | 37 TEST(FastBoot, ParseOsVersion) { in TEST() argument 42 fb.ParseOsVersion(&hdr, "1.2.3"); in TEST() 47 fb.ParseOsVersion(&hdr, "1.2"); in TEST() 52 fb.ParseOsVersion(&hdr, "1"); in TEST() 57 EXPECT_DEATH(fb.ParseOsVersion(&hdr, ""), "bad OS version"); in TEST() 58 EXPECT_DEATH(fb.ParseOsVersion(&hdr, "1.2.3.4"), "bad OS version"); in TEST() 59 EXPECT_DEATH(fb.ParseOsVersion(&hdr, "128.2.3"), "bad OS version"); in TEST() 60 EXPECT_DEATH(fb.ParseOsVersion(&hdr, "1.128.3"), "bad OS version"); in TEST() 61 EXPECT_DEATH(fb.ParseOsVersion(&hdr, "1.2.128"), "bad OS version"); in TEST()
|
D | fastboot.h | 49 void ParseOsVersion(boot_img_hdr_v1*, const char*);
|
D | fastboot.cpp | 2281 ParseOsVersion(&g_boot_img_hdr, optarg); in Main() 2633 void FastBootTool::ParseOsVersion(boot_img_hdr_v1* hdr, const char* arg) { in ParseOsVersion() function in FastBootTool
|
/system/core/fastboot/fuzzer/ |
D | fastboot_fuzzer.cpp | 80 fastBoot.ParseOsVersion(&hdr, version.c_str()); in InvokeParseApi()
|