• Home
  • Raw
  • Download

Lines Matching refs:ops_

43     ops_.set_delegate(this);  in SetUp()
44 ops_.set_partition_dir(testdir_); in SetUp()
45 ops_.set_stored_rollback_indexes({{0, 0}, {1, 0}, {2, 0}, {3, 0}}); in SetUp()
46 ops_.set_stored_is_device_unlocked(false); in SetUp()
63 ops_.set_expected_public_key( in TEST_F()
69 avb_slot_verify(ops_.avb_ops(), in TEST_F()
104 ops_.set_expected_public_key( in TEST_F()
110 avb_slot_verify(ops_.avb_ops(), in TEST_F()
150 ops_.set_expected_public_key( in TEST_F()
153 ops_.set_stored_is_device_unlocked(true); in TEST_F()
158 avb_slot_verify(ops_.avb_ops(), in TEST_F()
185 ops_.set_expected_public_key( in TEST_F()
187 ops_.enable_get_preloaded_partition(); in TEST_F()
192 avb_slot_verify(ops_.avb_ops(), in TEST_F()
209 ops_.set_expected_public_key( in TEST_F()
215 avb_slot_verify(ops_.avb_ops(), in TEST_F()
235 avb_slot_verify(ops_.avb_ops(), in TEST_F()
243 avb_slot_verify(ops_.avb_ops(), in TEST_F()
257 avb_slot_verify(ops_.avb_ops(), in TEST_F()
276 avb_slot_verify(ops_.avb_ops(), in TEST_F()
284 avb_slot_verify(ops_.avb_ops(), in TEST_F()
306 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
315 avb_slot_verify(ops_.avb_ops(), in TEST_F()
323 avb_slot_verify(ops_.avb_ops(), in TEST_F()
347 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
356 avb_slot_verify(ops_.avb_ops(), in TEST_F()
372 ops_.set_expected_public_key( in TEST_F()
380 ops_.set_stored_rollback_indexes({{0, 42}}); in TEST_F()
382 avb_slot_verify(ops_.avb_ops(), in TEST_F()
393 ops_.set_stored_rollback_indexes({{0, 43}}); in TEST_F()
395 avb_slot_verify(ops_.avb_ops(), in TEST_F()
403 avb_slot_verify(ops_.avb_ops(), in TEST_F()
458 ops_.set_expected_public_key( in TEST_F()
464 avb_slot_verify(ops_.avb_ops(), in TEST_F()
547 ops_.set_expected_public_key( in TEST_F()
553 avb_slot_verify(ops_.avb_ops(), in TEST_F()
641 ops_.set_expected_public_key( in TEST_F()
643 ops_.enable_get_preloaded_partition(); in TEST_F()
644 EXPECT_TRUE(ops_.preload_partition("boot_a", boot_path)); in TEST_F()
649 avb_slot_verify(ops_.avb_ops(), in TEST_F()
710 ops_.set_expected_public_key( in TEST_F()
716 avb_slot_verify(ops_.avb_ops(), in TEST_F()
728 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
735 avb_slot_verify(ops_.avb_ops(), in TEST_F()
743 avb_slot_verify(ops_.avb_ops(), in TEST_F()
839 ops_.set_expected_public_key( in TEST_F()
844 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1028 ops_.set_expected_public_key( in TEST_F()
1033 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1157 ops_.set_expected_public_key( in TEST_F()
1162 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1174 ops_.avb_ops()->write_to_partition(ops_.avb_ops(), in TEST_F()
1181 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1189 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1237 ops_.set_expected_public_key( in TEST_F()
1242 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1250 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1293 ops_.set_expected_public_key( in TEST_F()
1300 ops_.set_stored_rollback_indexes({{0, 0}, {1, 0}}); in TEST_F()
1302 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1314 ops_.set_stored_rollback_indexes({{0, 0}, {1, 20}}); in TEST_F()
1316 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1324 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1336 ops_.set_stored_rollback_indexes({{0, 0}}); in TEST_F()
1338 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1404 ops_.set_expected_public_key( in TEST_F()
1409 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1526 ops_.set_expected_public_key( in TEST_F()
1532 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1566 std::set<std::string> partitions = ops_.get_partition_names_read_from(); in TEST_F()
1639 ops_.set_expected_public_key( in TEST_F()
1644 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1656 std::set<std::string> partitions = ops_.get_partition_names_read_from(); in TEST_F()
1674 ops_.set_expected_public_key( in TEST_F()
1679 ops_.set_expected_public_key_metadata(md_data); in TEST_F()
1684 avb_slot_verify(ops_.avb_ops(), in TEST_F()
1777 ops_.set_expected_public_key( in CmdlineWithHashtreeVerification()
1785 avb_slot_verify(ops_.avb_ops(), in CmdlineWithHashtreeVerification()
1952 ops_.set_expected_public_key( in CmdlineWithChainedHashtreeVerification()
1961 avb_slot_verify(ops_.avb_ops(), in CmdlineWithChainedHashtreeVerification()
2092 ops_.set_expected_public_key( in VerificationDisabled()
2096 ops_.set_hidden_partitions({"system", "system_a", "system_b"}); in VerificationDisabled()
2105 ops_.avb_ops()->write_to_partition( in VerificationDisabled()
2106 ops_.avb_ops(), in VerificationDisabled()
2114 ops_.enable_get_preloaded_partition(); in VerificationDisabled()
2115 EXPECT_TRUE(ops_.preload_partition("boot_a", boot_path)); in VerificationDisabled()
2134 avb_slot_verify(ops_.avb_ops(), in VerificationDisabled()
2354 ops_.set_expected_public_key( in TEST_F()
2364 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2430 ops_.set_expected_public_key( in TEST_F()
2435 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2485 ops_.set_expected_public_key( in TEST_F()
2490 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2525 ops_.set_expected_public_key( in TEST_F()
2536 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2566 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2595 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2627 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2636 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2679 avb_slot_verify(ops_.avb_ops(), in TEST_F()
2749 ops_.set_expected_public_key( in SetupWithHashDescriptor()
2824 ops_.set_expected_public_key( in SetupWithHashtreeDescriptor()
2832 avb_slot_verify(ops_.avb_ops(), in Verify()
2870 ops_.write_persistent_value( in TEST_F()
2889 ops_.write_persistent_value( in TEST_F()
2905 ops_.set_stored_is_device_unlocked(true); in TEST_F()
2916 ops_.write_persistent_value(kPersistentValueName, GetParam(), kDigest); in TEST_P()
2941 return ops_.write_persistent_value(name, value_size, value); in write_persistent_value()
2948 ops_.write_persistent_value(GetParam(), AVB_SHA256_DIGEST_SIZE, kDigest); in TEST_P()
2978 ops_.set_stored_is_device_unlocked(true); in TEST_P()
3031 ops_.set_stored_is_device_unlocked(false); in TEST_P()
3072 ops_.write_persistent_value( in TEST_F()
3099 ops_.write_persistent_value( in TEST_F()
3129 ops_.write_persistent_value( in TEST_F()
3156 ops_.write_persistent_value( in TEST_F()
3176 ops_.write_persistent_value(kPersistentValueName, GetParam(), kDigest); in TEST_P()
3198 ops_.write_persistent_value(GetParam(), AVB_SHA256_DIGEST_SIZE, kDigest); in TEST_P()
3228 ops_.write_persistent_value( in TEST_P()
3268 ops_.set_expected_public_key( in TEST_F()
3276 avb_slot_verify(ops_.avb_ops(), in TEST_F()
3294 avb_slot_verify(ops_.avb_ops(), in TEST_F()
3312 ops_.avb_ops(), in TEST_F()
3329 avb_slot_verify(ops_.avb_ops(), in TEST_F()
3347 ops_.avb_ops(), in TEST_F()
3364 avb_slot_verify(ops_.avb_ops(), in TEST_F()
3389 avb_slot_verify(ops_.avb_ops(), in TEST_F()
3407 avb_slot_verify(ops_.avb_ops(), in TEST_F()
3430 ops_.set_expected_public_key( in TEST_F()
3432 ops_.set_hidden_partitions({"system_a"}); in TEST_F()
3437 avb_slot_verify(ops_.avb_ops(), in TEST_F()