Home
last modified time | relevance | path

Searched refs:operations (Results 1 – 25 of 61) sorted by relevance

123

/system/security/keystore2/src/km_compat/
Dslot_test.cpp144 std::vector<std::shared_ptr<IKeyMintOperation>> operations; in TEST() local
148 operations.push_back(std::get<BeginResult>(result).operation); in TEST()
168 auto last = operations.back(); in TEST()
169 operations.pop_back(); in TEST()
177 operations.push_back(std::get<BeginResult>(result).operation); in TEST()
192 last = operations.back(); in TEST()
193 operations.pop_back(); in TEST()
198 operations.push_back(std::get<BeginResult>(result).operation); in TEST()
232 operations.clear(); in TEST()
/system/core/libutils/
DLruCache_fuzz.cpp36 static const std::vector<std::function<void(FuzzedDataProvider*, FuzzCache*)>> operations = { variable
69 uint8_t op = dataProvider.ConsumeIntegral<uint8_t>() % operations.size(); in LLVMFuzzerTestOneInput()
70 operations[op](&dataProvider, &cache); in LLVMFuzzerTestOneInput()
DLooper_fuzz.cpp40 std::vector<std::function<void(FuzzedDataProvider*, sp<Looper>, Pipe)>> operations = { variable
78 uint8_t op = dataProvider.ConsumeIntegralInRange<uint8_t>(0, operations.size() - 1); in LLVMFuzzerTestOneInput()
79 operations[op](&dataProvider, looper, pipeObj); in LLVMFuzzerTestOneInput()
/system/update_engine/payload_generator/
Dmerge_sequence_generator.cc300 const std::vector<CowMergeOperation>& operations) { in FindDependency() argument
306 for (const auto& op : operations) { in FindDependency()
310 operations.begin(), in FindDependency()
311 operations.end(), in FindDependency()
321 operations.end(), in FindDependency()
333 std::set<CowMergeOperation> operations(lower_it, upper_it); in FindDependency() local
334 auto it = operations.find(op); in FindDependency()
335 if (it != operations.end()) { in FindDependency()
337 operations.erase(it); in FindDependency()
339 auto ret = merge_after.emplace(op, std::move(operations)); in FindDependency()
Dcow_size_estimator.h34 const google::protobuf::RepeatedPtrField<InstallOperation>& operations,
49 const google::protobuf::RepeatedPtrField<InstallOperation>& operations,
Dcow_size_estimator.cc55 const google::protobuf::RepeatedPtrField<InstallOperation>& operations, in CowDryRun() argument
77 for (const auto& op : operations) { in CowDryRun()
202 const google::protobuf::RepeatedPtrField<InstallOperation>& operations, in EstimateCowSizeInfo() argument
221 operations, in EstimateCowSizeInfo()
Dcow_size_estimator_stub.cc24 const google::protobuf::RepeatedPtrField<InstallOperation>& operations, in EstimateCowSize() argument
Ddelta_diff_generator.cc125 google::protobuf::RepeatedPtrField<InstallOperation> operations; in Run() local
128 *operations.Add() = aop.op; in Run()
137 std::move(operations), in Run()
/system/update_engine/scripts/
Dpayload_info.py78 len(partition.operations))
132 def _DisplayOps(self, name, operations): argument
158 for op_count, op in enumerate(operations):
181 for curr_op in partition.operations:
221 partition.operations)
Dpayload_info_unittest.py88 def __init__(self, partition_name, operations, old_size, new_size): argument
90 self.operations = operations
/system/security/keystore2/src/
Doperation.rs483 operations: Mutex<Vec<Weak<Operation>>>, field
489 Self { operations: Mutex::new(Vec::new()) } in new()
504 let mut operations = self.operations.lock().expect("In create_operation."); in create_operation() localVariable
509 match (*operations).iter_mut().find(|s| { in create_operation()
527 operations.len(), in create_operation()
534 operations.push(Arc::downgrade(&new_op)); in create_operation()
541 self.operations.lock().expect("In OperationDb::get.").get(index).and_then(|op| op.upgrade()) in get()
626 self.operations in prune()
/system/core/libutils/binder/
DString8_fuzz.cpp31 operations = { variable
179 operations[index](dataProvider, str1, str2); in callFunc()
196 uint8_t op = dataProvider.ConsumeIntegralInRange<uint8_t>(0, operations.size() - 1); in LLVMFuzzerTestOneInput()
197 operations[op](&dataProvider, &str_one_utf8, &str_two_utf8); in LLVMFuzzerTestOneInput()
DString16_fuzz.cpp26 operations = { variable
81 operations[index](dataProvider, str1, str2); in callFunc()
106 uint8_t op = dataProvider.ConsumeIntegralInRange<uint8_t>(0, operations.size() - 1); in LLVMFuzzerTestOneInput()
/system/update_engine/common/
Dcow_operation_convert.cc37 ::chromeos_update_engine::InstallOperation>& operations, in ConvertToCowOperations()
68 for (const auto& operation : operations) { in ConvertToCowOperations()
Dcow_operation_convert_unittest.cc93 void AddOperation(OperationList* operations, in AddOperation() argument
97 auto&& op = operations->Add(); in AddOperation()
107 void AddMergeOperation(MergeOplist* operations, in AddMergeOperation() argument
111 auto&& op = operations->Add(); in AddMergeOperation()
Dcow_operation_convert.h53 ::chromeos_update_engine::InstallOperation>& operations,
/system/keymaster/tests/fuzzers/
Dbuffer_fuzz.cpp27 std::vector<std::function<void(keymaster::Buffer*, FuzzedDataProvider*)>> operations = { variable
79 uint8_t op = fdp.ConsumeIntegralInRange<uint8_t>(0, operations.size() - 1); in LLVMFuzzerTestOneInput()
80 operations[op](&fuzzBuffer, &fdp); in LLVMFuzzerTestOneInput()
/system/sepolicy/private/
Dmls13 # Process read operations: No read up unless trusted.
17 # Process write operations: Require equivalence unless trusted.
25 # Create/relabel operations: Subject must be equivalent to object unless
44 # Create/relabel operations: Subject must be equivalent to object unless
81 # Read operations: Subject must dominate object unless the subject
90 # Write operations: Subject must be equivalent to the object unless the
/system/update_engine/scripts/update_payload/
Dcommon.py207 def OperationIter(operations, base_name, reverse=False): argument
209 return _ObjNameIter(operations, base_name, reverse=reverse,
Dtest_utils.py207 operations = partition.operations
208 op = operations.add()
/system/update_engine/update_engine/
Dupdate_metadata.proto17 // Update file format: An update file contains all the operations needed
62 // protobuf is downloaded). The types of operations are explained:
89 // The operations allowed in the payload (supported by the client) depend on the
155 // On minor version 2 or newer, these operations are supported:
160 // operations are supported:
163 // On minor version 4 or newer, these operations are supported:
168 // On minor version 5 or newer, these operations are supported:
171 // On minor version 8 or newer, these operations are supported:
174 // On minor version 9 or newer, these operations are supported:
273 // The list of operations to be performed to apply this PartitionUpdate. The
[all …]
/system/update_engine/
Dupdate_metadata.proto17 // Update file format: An update file contains all the operations needed
62 // protobuf is downloaded). The types of operations are explained:
89 // The operations allowed in the payload (supported by the client) depend on the
155 // On minor version 2 or newer, these operations are supported:
160 // operations are supported:
163 // On minor version 4 or newer, these operations are supported:
168 // On minor version 5 or newer, these operations are supported:
171 // On minor version 8 or newer, these operations are supported:
174 // On minor version 9 or newer, these operations are supported:
273 // The list of operations to be performed to apply this PartitionUpdate. The
[all …]
DREADME.md86 metadata is basically a list of operations that should be performed for an
88 operations. The updater client first downloads the metadata and
97 Then, the updater client performs the operations defined in the metadata (in the
99 downloaded when these operations require their data. Once an operation is
104 operations from the beginning.
250 … | Varies | [DeltaArchiveManifest] | The list of operations to be performed.…
252 …ist of raw or compressed data blobs | The list of binary blobs used by operations in the metadata.…
300 operations for in the last two steps. Assign the remaining metadata (inodes,
307 smaller data blob. These two operations produce binary diffs between a
310 6. Sort the operations based on their target partitions’ block offset.
[all …]
/system/keymint/ta/src/
Doperation.rs422 self.operations[op_idx] = Some(op); in begin_operation()
746 self.operations.iter().position(Option::is_none).ok_or_else(|| { in new_operation_index()
747 km_err!(TooManyOperations, "current op count {} >= limit", self.operations.len()) in new_operation_index()
765 self.operations in op_index()
789 self.operations[op_idx].as_ref().unwrap(/* safe: op_index() checks */ ), in with_authed_operation()
793 let op = self.operations[op_idx].as_mut().unwrap(/* safe: op_index() checks */); in with_authed_operation()
803 self.operations[op_idx] = None; in with_authed_operation()
811 Ok(self.operations[op_idx].take().unwrap(/* safe: op_index() checks */)) in take_operation()
/system/nvram/hal/
Dfake-nvram-seccomp-x86_64.policy22 # File operations.

123