Lines Matching refs:base
46 using android::base::Error;
47 using android::base::Result;
286 return android::base::StringPrintf( in VerifyHashtree()
329 return android::base::StringPrintf( in VerifyHashtree()
347 return android::base::StringPrintf( in VerifyHashtree()
393 if (android::base::ReadFileToString(path, &allowed_key_blob)) { in ValidatePublicKeyBlob()
488 int level = android::base::GetIntProperty("ro.product.first_api_level", 0); in GetFirstApiLevel()
490 level = android::base::GetIntProperty("ro.build.version.sdk", 0); in GetFirstApiLevel()
628 android::base::unique_fd fd(open(boot_path.c_str(), O_RDONLY)); in TEST()
646 ASSERT_TRUE(android::base::ReadFully(fd, boot_partition_vector.data(), in TEST()
677 android::base::unique_fd fd(open(boot_path.c_str(), O_RDONLY)); in LoadGkiComplianceV2Images()
681 ASSERT_TRUE(android::base::ReadFully(fd, out_boot_partition_vector->data(), in LoadGkiComplianceV2Images()
701 ASSERT_TRUE(android::base::ReadFully( in LoadGkiComplianceV2Images()
710 ASSERT_TRUE(android::base::ReadFully(fd, out_boot_signature_vector->data(), in LoadGkiComplianceV2Images()
815 android::base::unique_fd fd(open(system_path.c_str(), O_RDONLY)); in TEST()
1009 if (android::base::GetBoolProperty("ro.build.ab_update", false)) { in LoadAndVerifyAvbSlotDataForCurrentSlot()
1010 suffix = android::base::GetProperty("ro.boot.slot_suffix", ""); in LoadAndVerifyAvbSlotDataForCurrentSlot()