Home
last modified time | relevance | path

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

/system/core/fastboot/
Dfastboot_test.cpp37 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()
Dfastboot.h49 void ParseOsVersion(boot_img_hdr_v1*, const char*);
Dfastboot.cpp2281 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/
Dfastboot_fuzzer.cpp80 fastBoot.ParseOsVersion(&hdr, version.c_str()); in InvokeParseApi()