Lines Matching refs:slot_data
66 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
74 &slot_data)); in TEST_F()
75 EXPECT_NE(nullptr, slot_data); in TEST_F()
85 std::string(slot_data->cmdline)); in TEST_F()
88 slot_data, AVB_DIGEST_TYPE_SHA256, vbmeta_digest); in TEST_F()
91 avb_slot_verify_data_free(slot_data); in TEST_F()
107 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
115 &slot_data)); in TEST_F()
116 EXPECT_NE(nullptr, slot_data); in TEST_F()
127 std::string(slot_data->cmdline)); in TEST_F()
130 slot_data, AVB_DIGEST_TYPE_SHA512, vbmeta_digest); in TEST_F()
135 avb_slot_verify_data_free(slot_data); in TEST_F()
155 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
163 &slot_data)); in TEST_F()
164 EXPECT_NE(nullptr, slot_data); in TEST_F()
174 std::string(slot_data->cmdline)); in TEST_F()
175 avb_slot_verify_data_free(slot_data); in TEST_F()
189 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
197 &slot_data)); in TEST_F()
198 EXPECT_NE(nullptr, slot_data); in TEST_F()
199 avb_slot_verify_data_free(slot_data); in TEST_F()
212 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
220 &slot_data)); in TEST_F()
221 EXPECT_NE(nullptr, slot_data); in TEST_F()
222 avb_slot_verify_data_free(slot_data); in TEST_F()
232 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
240 &slot_data)); in TEST_F()
241 EXPECT_EQ(nullptr, slot_data); in TEST_F()
248 &slot_data)); in TEST_F()
249 EXPECT_NE(nullptr, slot_data); in TEST_F()
250 avb_slot_verify_data_free(slot_data); in TEST_F()
255 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
262 &slot_data)); in TEST_F()
263 EXPECT_EQ(nullptr, slot_data); in TEST_F()
273 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
281 &slot_data)); in TEST_F()
282 EXPECT_EQ(nullptr, slot_data); in TEST_F()
289 &slot_data)); in TEST_F()
290 EXPECT_NE(nullptr, slot_data); in TEST_F()
291 avb_slot_verify_data_free(slot_data); in TEST_F()
312 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
320 &slot_data)); in TEST_F()
321 EXPECT_EQ(nullptr, slot_data); in TEST_F()
328 &slot_data)); in TEST_F()
329 EXPECT_NE(nullptr, slot_data); in TEST_F()
330 avb_slot_verify_data_free(slot_data); in TEST_F()
353 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
361 &slot_data)); in TEST_F()
362 EXPECT_EQ(nullptr, slot_data); in TEST_F()
375 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
387 &slot_data)); in TEST_F()
388 EXPECT_NE(nullptr, slot_data); in TEST_F()
389 avb_slot_verify_data_free(slot_data); in TEST_F()
400 &slot_data)); in TEST_F()
401 EXPECT_EQ(nullptr, slot_data); in TEST_F()
408 &slot_data)); in TEST_F()
409 EXPECT_NE(nullptr, slot_data); in TEST_F()
410 avb_slot_verify_data_free(slot_data); in TEST_F()
461 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
469 &slot_data)); in TEST_F()
470 EXPECT_NE(nullptr, slot_data); in TEST_F()
474 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
476 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
477 EXPECT_EQ(new_boot_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
478 avb_slot_verify_data_free(slot_data); in TEST_F()
550 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
558 &slot_data)); in TEST_F()
559 EXPECT_NE(nullptr, slot_data); in TEST_F()
563 EXPECT_EQ(size_t(1), slot_data->num_vbmeta_images); in TEST_F()
564 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
565 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
568 slot_data->vbmeta_images[0].vbmeta_data, in TEST_F()
569 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
573 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
575 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
576 EXPECT_EQ(boot_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
577 for (size_t n = 0; n < slot_data->loaded_partitions[0].data_size; n++) { in TEST_F()
578 EXPECT_EQ(slot_data->loaded_partitions[0].data[n], uint8_t(n)); in TEST_F()
595 std::string(slot_data->cmdline)); in TEST_F()
596 EXPECT_EQ(4UL, slot_data->rollback_indexes[0]); in TEST_F()
598 EXPECT_EQ(0UL, slot_data->rollback_indexes[n]); in TEST_F()
600 avb_slot_verify_data_free(slot_data); in TEST_F()
646 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
654 &slot_data)); in TEST_F()
655 EXPECT_NE(nullptr, slot_data); in TEST_F()
659 EXPECT_EQ(size_t(1), slot_data->num_vbmeta_images); in TEST_F()
660 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
661 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
664 slot_data->vbmeta_images[0].vbmeta_data, in TEST_F()
665 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
669 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
671 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
672 EXPECT_EQ(boot_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
673 for (size_t n = 0; n < slot_data->loaded_partitions[0].data_size; n++) { in TEST_F()
674 EXPECT_EQ(slot_data->loaded_partitions[0].data[n], uint8_t(n)); in TEST_F()
676 EXPECT_TRUE(slot_data->loaded_partitions[0].preloaded); in TEST_F()
678 avb_slot_verify_data_free(slot_data); in TEST_F()
714 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
721 &slot_data)); in TEST_F()
722 EXPECT_NE(nullptr, slot_data); in TEST_F()
723 avb_slot_verify_data_free(slot_data); in TEST_F()
740 &slot_data)); in TEST_F()
741 EXPECT_EQ(nullptr, slot_data); in TEST_F()
748 &slot_data)); in TEST_F()
749 EXPECT_NE(nullptr, slot_data); in TEST_F()
750 avb_slot_verify_data_free(slot_data); in TEST_F()
842 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
849 &slot_data)); in TEST_F()
850 EXPECT_NE(nullptr, slot_data); in TEST_F()
855 EXPECT_EQ(size_t(2), slot_data->num_vbmeta_images); in TEST_F()
856 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
857 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
860 slot_data->vbmeta_images[0].vbmeta_data, in TEST_F()
861 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
864 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
866 avb_descriptor_get_all(slot_data->vbmeta_images[1].vbmeta_data, in TEST_F()
867 slot_data->vbmeta_images[1].vbmeta_size, in TEST_F()
898 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
900 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
901 EXPECT_EQ(boot_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
902 for (size_t n = 0; n < slot_data->loaded_partitions[0].data_size; n++) { in TEST_F()
903 EXPECT_EQ(slot_data->loaded_partitions[0].data[n], uint8_t(n)); in TEST_F()
917 std::string(slot_data->cmdline)); in TEST_F()
918 EXPECT_EQ(11UL, slot_data->rollback_indexes[0]); in TEST_F()
919 EXPECT_EQ(12UL, slot_data->rollback_indexes[1]); in TEST_F()
921 EXPECT_EQ(0UL, slot_data->rollback_indexes[n]); in TEST_F()
925 slot_data, AVB_DIGEST_TYPE_SHA256, vbmeta_digest); in TEST_F()
928 avb_slot_verify_data_free(slot_data); in TEST_F()
1031 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1038 &slot_data)); in TEST_F()
1039 EXPECT_NE(nullptr, slot_data); in TEST_F()
1044 EXPECT_EQ(size_t(2), slot_data->num_vbmeta_images); in TEST_F()
1045 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1046 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
1049 slot_data->vbmeta_images[0].vbmeta_data, in TEST_F()
1050 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
1054 std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
1056 avb_descriptor_get_all(slot_data->vbmeta_images[1].vbmeta_data, in TEST_F()
1057 slot_data->vbmeta_images[1].vbmeta_size, in TEST_F()
1088 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
1090 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1091 EXPECT_EQ(boot_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
1092 for (size_t n = 0; n < slot_data->loaded_partitions[0].data_size; n++) { in TEST_F()
1093 EXPECT_EQ(slot_data->loaded_partitions[0].data[n], uint8_t(n)); in TEST_F()
1107 std::string(slot_data->cmdline)); in TEST_F()
1108 EXPECT_EQ(11UL, slot_data->rollback_indexes[0]); in TEST_F()
1109 EXPECT_EQ(12UL, slot_data->rollback_indexes[1]); in TEST_F()
1111 EXPECT_EQ(0UL, slot_data->rollback_indexes[n]); in TEST_F()
1115 slot_data, AVB_DIGEST_TYPE_SHA256, vbmeta_digest); in TEST_F()
1118 avb_slot_verify_data_free(slot_data); in TEST_F()
1160 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1167 &slot_data)); in TEST_F()
1168 EXPECT_NE(nullptr, slot_data); in TEST_F()
1169 avb_slot_verify_data_free(slot_data); in TEST_F()
1186 &slot_data)); in TEST_F()
1187 EXPECT_EQ(nullptr, slot_data); in TEST_F()
1194 &slot_data)); in TEST_F()
1195 EXPECT_NE(nullptr, slot_data); in TEST_F()
1196 avb_slot_verify_data_free(slot_data); in TEST_F()
1240 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1247 &slot_data)); in TEST_F()
1248 EXPECT_EQ(nullptr, slot_data); in TEST_F()
1255 &slot_data)); in TEST_F()
1256 EXPECT_NE(nullptr, slot_data); in TEST_F()
1257 avb_slot_verify_data_free(slot_data); in TEST_F()
1296 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1307 &slot_data)); in TEST_F()
1308 EXPECT_NE(nullptr, slot_data); in TEST_F()
1309 avb_slot_verify_data_free(slot_data); in TEST_F()
1321 &slot_data)); in TEST_F()
1322 EXPECT_EQ(nullptr, slot_data); in TEST_F()
1329 &slot_data)); in TEST_F()
1330 EXPECT_NE(nullptr, slot_data); in TEST_F()
1331 avb_slot_verify_data_free(slot_data); in TEST_F()
1343 &slot_data)); in TEST_F()
1344 EXPECT_EQ(nullptr, slot_data); in TEST_F()
1407 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1414 &slot_data)); in TEST_F()
1415 EXPECT_NE(nullptr, slot_data); in TEST_F()
1420 EXPECT_EQ(size_t(2), slot_data->num_vbmeta_images); in TEST_F()
1421 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1422 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
1425 slot_data->vbmeta_images[0].vbmeta_data, in TEST_F()
1426 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
1427 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
1431 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
1433 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1434 EXPECT_EQ(boot_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
1435 for (size_t n = 0; n < slot_data->loaded_partitions[0].data_size; n++) { in TEST_F()
1436 EXPECT_EQ(slot_data->loaded_partitions[0].data[n], uint8_t(n)); in TEST_F()
1451 std::string(slot_data->cmdline)); in TEST_F()
1452 EXPECT_EQ(11UL, slot_data->rollback_indexes[0]); in TEST_F()
1453 EXPECT_EQ(12UL, slot_data->rollback_indexes[1]); in TEST_F()
1455 EXPECT_EQ(0UL, slot_data->rollback_indexes[n]); in TEST_F()
1457 avb_slot_verify_data_free(slot_data); in TEST_F()
1529 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1537 &slot_data)); in TEST_F()
1538 EXPECT_NE(nullptr, slot_data); in TEST_F()
1542 EXPECT_EQ(size_t(1), slot_data->num_vbmeta_images); in TEST_F()
1543 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1544 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F()
1547 slot_data->vbmeta_images[0].vbmeta_data, in TEST_F()
1548 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
1552 EXPECT_EQ(size_t(2), slot_data->num_loaded_partitions); in TEST_F()
1553 EXPECT_EQ("bar", std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1554 EXPECT_EQ(bar_image_size, slot_data->loaded_partitions[0].data_size); in TEST_F()
1555 for (size_t n = 0; n < slot_data->loaded_partitions[0].data_size; n++) { in TEST_F()
1556 EXPECT_EQ(slot_data->loaded_partitions[0].data[n], uint8_t(n)); in TEST_F()
1558 EXPECT_EQ("foo", std::string(slot_data->loaded_partitions[1].partition_name)); in TEST_F()
1559 EXPECT_EQ(foo_image_size, slot_data->loaded_partitions[1].data_size); in TEST_F()
1560 for (size_t n = 0; n < slot_data->loaded_partitions[1].data_size; n++) { in TEST_F()
1561 EXPECT_EQ(slot_data->loaded_partitions[1].data[n], uint8_t(n)); in TEST_F()
1563 avb_slot_verify_data_free(slot_data); in TEST_F()
1641 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1649 &slot_data)); in TEST_F()
1650 EXPECT_NE(nullptr, slot_data); in TEST_F()
1651 EXPECT_EQ(size_t(1), slot_data->num_loaded_partitions); in TEST_F()
1652 EXPECT_EQ("foo", std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1653 avb_slot_verify_data_free(slot_data); in TEST_F()
1681 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
1689 &slot_data)); in TEST_F()
1690 EXPECT_NE(nullptr, slot_data); in TEST_F()
1700 std::string(slot_data->cmdline)); in TEST_F()
1701 avb_slot_verify_data_free(slot_data); in TEST_F()
1782 AvbSlotVerifyData* slot_data = NULL; in CmdlineWithHashtreeVerification() local
1790 &slot_data)); in CmdlineWithHashtreeVerification()
1791 EXPECT_NE(nullptr, slot_data); in CmdlineWithHashtreeVerification()
1808 std::string(slot_data->cmdline)); in CmdlineWithHashtreeVerification()
1821 std::string(slot_data->cmdline)); in CmdlineWithHashtreeVerification()
1823 avb_slot_verify_data_free(slot_data); in CmdlineWithHashtreeVerification()
1958 AvbSlotVerifyData* slot_data = NULL; in CmdlineWithChainedHashtreeVerification() local
1966 &slot_data)); in CmdlineWithChainedHashtreeVerification()
1967 EXPECT_NE(nullptr, slot_data); in CmdlineWithChainedHashtreeVerification()
1984 std::string(slot_data->cmdline)); in CmdlineWithChainedHashtreeVerification()
1997 std::string(slot_data->cmdline)); in CmdlineWithChainedHashtreeVerification()
1999 avb_slot_verify_data_free(slot_data); in CmdlineWithChainedHashtreeVerification()
2131 AvbSlotVerifyData* slot_data = NULL; in VerificationDisabled() local
2139 &slot_data)); in VerificationDisabled()
2140 EXPECT_NE(nullptr, slot_data); in VerificationDisabled()
2143 std::string(slot_data->cmdline)); in VerificationDisabled()
2145 EXPECT_EQ("", std::string(slot_data->cmdline)); in VerificationDisabled()
2149 EXPECT_EQ(size_t(2), slot_data->num_loaded_partitions); in VerificationDisabled()
2151 std::string(slot_data->loaded_partitions[0].partition_name)); in VerificationDisabled()
2152 EXPECT_EQ(boot_part_size, slot_data->loaded_partitions[0].data_size); in VerificationDisabled()
2154 EXPECT_EQ(uint8_t(n), slot_data->loaded_partitions[0].data[n]); in VerificationDisabled()
2156 EXPECT_EQ(preload_boot, slot_data->loaded_partitions[0].preloaded); in VerificationDisabled()
2159 std::string(slot_data->loaded_partitions[1].partition_name)); in VerificationDisabled()
2160 EXPECT_EQ(dtbo_part_size, slot_data->loaded_partitions[1].data_size); in VerificationDisabled()
2163 slot_data->loaded_partitions[1].data[n]); in VerificationDisabled()
2165 EXPECT_FALSE(slot_data->loaded_partitions[1].preloaded); in VerificationDisabled()
2167 avb_slot_verify_data_free(slot_data); in VerificationDisabled()
2361 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
2369 &slot_data)); in TEST_F()
2370 EXPECT_NE(nullptr, slot_data); in TEST_F()
2386 std::string(slot_data->cmdline)); in TEST_F()
2387 avb_slot_verify_data_free(slot_data); in TEST_F()
2433 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
2440 &slot_data)); in TEST_F()
2441 EXPECT_EQ(nullptr, slot_data); in TEST_F()
2488 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
2495 &slot_data)); in TEST_F()
2496 EXPECT_EQ(nullptr, slot_data); in TEST_F()
2528 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
2541 &slot_data)); in TEST_F()
2542 EXPECT_NE(nullptr, slot_data); in TEST_F()
2558 std::string(slot_data->cmdline)); in TEST_F()
2559 avb_slot_verify_data_free(slot_data); in TEST_F()
2571 &slot_data)); in TEST_F()
2572 EXPECT_NE(nullptr, slot_data); in TEST_F()
2587 std::string(slot_data->cmdline)); in TEST_F()
2588 avb_slot_verify_data_free(slot_data); in TEST_F()
2600 &slot_data)); in TEST_F()
2601 EXPECT_NE(nullptr, slot_data); in TEST_F()
2616 std::string(slot_data->cmdline)); in TEST_F()
2617 avb_slot_verify_data_free(slot_data); in TEST_F()
2632 &slot_data)); in TEST_F()
2633 EXPECT_EQ(nullptr, slot_data); in TEST_F()
2641 &slot_data)); in TEST_F()
2642 EXPECT_NE(nullptr, slot_data); in TEST_F()
2657 std::string(slot_data->cmdline)); in TEST_F()
2658 avb_slot_verify_data_free(slot_data); in TEST_F()
2684 &slot_data)); in TEST_F()
2685 EXPECT_NE(nullptr, slot_data); in TEST_F()
2696 std::string(slot_data->cmdline)); in TEST_F()
2697 avb_slot_verify_data_free(slot_data); in TEST_F()
2829 AvbSlotVerifyData* slot_data = NULL; in Verify() local
2837 &slot_data); in Verify()
2840 ASSERT_NE(nullptr, slot_data); in Verify()
2841 last_cmdline_ = slot_data->cmdline; in Verify()
2842 avb_slot_verify_data_free(slot_data); in Verify()
2845 EXPECT_EQ(nullptr, slot_data); in Verify()
3271 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
3281 &slot_data)); in TEST_F()
3282 EXPECT_NE(nullptr, slot_data); in TEST_F()
3284 slot_data->resolved_hashtree_error_mode); in TEST_F()
3285 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=enforcing") != in TEST_F()
3287 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3289 avb_slot_verify_data_free(slot_data); in TEST_F()
3299 &slot_data)); in TEST_F()
3300 EXPECT_NE(nullptr, slot_data); in TEST_F()
3302 slot_data->resolved_hashtree_error_mode); in TEST_F()
3303 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=enforcing") != in TEST_F()
3305 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3307 avb_slot_verify_data_free(slot_data); in TEST_F()
3317 &slot_data)); in TEST_F()
3318 EXPECT_NE(nullptr, slot_data); in TEST_F()
3320 slot_data->resolved_hashtree_error_mode); in TEST_F()
3321 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=eio") != in TEST_F()
3323 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3325 avb_slot_verify_data_free(slot_data); in TEST_F()
3334 &slot_data)); in TEST_F()
3335 EXPECT_NE(nullptr, slot_data); in TEST_F()
3337 slot_data->resolved_hashtree_error_mode); in TEST_F()
3338 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=eio") != in TEST_F()
3340 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3342 avb_slot_verify_data_free(slot_data); in TEST_F()
3352 &slot_data)); in TEST_F()
3353 EXPECT_NE(nullptr, slot_data); in TEST_F()
3355 slot_data->resolved_hashtree_error_mode); in TEST_F()
3356 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=eio") != in TEST_F()
3358 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3360 avb_slot_verify_data_free(slot_data); in TEST_F()
3369 &slot_data)); in TEST_F()
3370 EXPECT_NE(nullptr, slot_data); in TEST_F()
3372 slot_data->resolved_hashtree_error_mode); in TEST_F()
3373 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=eio") != in TEST_F()
3375 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3377 avb_slot_verify_data_free(slot_data); in TEST_F()
3394 &slot_data)); in TEST_F()
3395 EXPECT_NE(nullptr, slot_data); in TEST_F()
3397 slot_data->resolved_hashtree_error_mode); in TEST_F()
3398 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=enforcing") != in TEST_F()
3400 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3402 avb_slot_verify_data_free(slot_data); in TEST_F()
3412 &slot_data)); in TEST_F()
3413 EXPECT_NE(nullptr, slot_data); in TEST_F()
3415 slot_data->resolved_hashtree_error_mode); in TEST_F()
3416 EXPECT_TRUE(strstr(slot_data->cmdline, "androidboot.veritymode=enforcing") != in TEST_F()
3418 EXPECT_TRUE(strstr(slot_data->cmdline, in TEST_F()
3420 avb_slot_verify_data_free(slot_data); in TEST_F()
3434 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local
3442 &slot_data)); in TEST_F()
3443 EXPECT_NE(nullptr, slot_data); in TEST_F()
3453 std::string(slot_data->cmdline)); in TEST_F()
3455 avb_slot_verify_data_free(slot_data); in TEST_F()