Home
last modified time | relevance | path

Searched refs:new_op (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_generator/
Dab_generator.cc121 InstallOperation new_op; in SplitSourceCopy() local
127 *(new_op.add_src_extents()) = curr_src_ext; in SplitSourceCopy()
138 *(new_op.add_src_extents()) = first_ext; in SplitSourceCopy()
146 new_op.set_type(InstallOperation::SOURCE_COPY); in SplitSourceCopy()
147 *(new_op.add_dst_extents()) = dst_ext; in SplitSourceCopy()
150 new_aop.op = new_op; in SplitSourceCopy()
174 InstallOperation new_op; in SplitAReplaceOp() local
175 *(new_op.add_dst_extents()) = dst_ext; in SplitAReplaceOp()
179 new_op.set_type(InstallOperation::REPLACE); in SplitAReplaceOp()
180 new_op.set_data_length(data_size); in SplitAReplaceOp()
[all …]
Dab_generator_unittest.cc289 InstallOperation new_op = aops[0].op; in TestMergeReplaceOrReplaceXzOperations() local
290 EXPECT_EQ(expected_op_type, new_op.type()); in TestMergeReplaceOrReplaceXzOperations()
291 EXPECT_FALSE(new_op.has_src_length()); in TestMergeReplaceOrReplaceXzOperations()
292 EXPECT_FALSE(new_op.has_dst_length()); in TestMergeReplaceOrReplaceXzOperations()
293 EXPECT_EQ(1, new_op.dst_extents().size()); in TestMergeReplaceOrReplaceXzOperations()
294 EXPECT_TRUE(ExtentEquals(new_op.dst_extents(0), 0, total_op_num_blocks)); in TestMergeReplaceOrReplaceXzOperations()
306 ASSERT_EQ(expected_blob.size(), new_op.data_length()); in TestMergeReplaceOrReplaceXzOperations()
309 brillo::Blob new_op_blob(new_op.data_length()); in TestMergeReplaceOrReplaceXzOperations()
313 new_op.data_length(), in TestMergeReplaceOrReplaceXzOperations()
314 new_op.data_offset(), in TestMergeReplaceOrReplaceXzOperations()
[all …]
/system/security/keystore2/src/
Doperation.rs533 let new_op = Arc::new(Operation::new( in create_operation() localVariable
541 *free_slot = Arc::downgrade(&new_op); in create_operation()
542 new_op in create_operation()
545 let new_op = Arc::new(Operation::new( in create_operation() localVariable
553 operations.push(Arc::downgrade(&new_op)); in create_operation()
554 new_op in create_operation()