Searched defs:ops (Results 1 - 15 of 15) sorted by relevance

/system/core/fs_mgr/
H A Dfs_mgr_priv_avb_ops.h52 static FsManagerAvbOps* GetInstanceFromAvbOps(AvbOps* ops) { argument
53 return reinterpret_cast<FsManagerAvbOps*>(ops->user_data);
H A Dfs_mgr_avb_ops.cpp43 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, argument
45 return FsManagerAvbOps::GetInstanceFromAvbOps(ops)->ReadFromPartition(
49 static AvbIOResult dummy_read_rollback_index(AvbOps* ops ATTRIBUTE_UNUSED,
59 AvbOps* ops ATTRIBUTE_UNUSED, const uint8_t* public_key_data ATTRIBUTE_UNUSED,
72 static AvbIOResult dummy_read_is_device_unlocked(AvbOps* ops ATTRIBUTE_UNUSED,
81 static AvbIOResult dummy_get_unique_guid_for_partition(AvbOps* ops ATTRIBUTE_UNUSED,
92 static AvbIOResult dummy_get_size_of_partition(AvbOps* ops ATTRIBUTE_UNUSED,
/system/iot/attestation/atap/ops/
H A Datap_ops_provider.h32 // An implementation of ops callbacks that forwards to a given delegate. All
42 static AtapOpsProvider* GetInstanceFromAtapOps(AtapOps* ops) { argument
43 return reinterpret_cast<AtapOpsProvider*>(ops->user_data);
H A Datap_ops_provider.cpp31 AtapResult forward_read_product_id(AtapOps* ops, argument
33 return AtapOpsProvider::GetInstanceFromAtapOps(ops)
38 AtapResult forward_get_auth_key_type(AtapOps* ops, AtapKeyType* key_type) { argument
39 return AtapOpsProvider::GetInstanceFromAtapOps(ops)
44 AtapResult forward_read_auth_key_cert_chain(AtapOps* ops, argument
46 return AtapOpsProvider::GetInstanceFromAtapOps(ops)
51 AtapResult forward_write_attestation_key(AtapOps* ops, argument
55 return AtapOpsProvider::GetInstanceFromAtapOps(ops)
60 AtapResult forward_read_attestation_public_key(AtapOps* ops, argument
64 return AtapOpsProvider::GetInstanceFromAtapOps(ops)
69 forward_read_soc_global_key( AtapOps* ops, uint8_t global_key[ATAP_AES_128_KEY_LEN]) argument
76 forward_write_hex_uuid(AtapOps* ops, const uint8_t uuid[ATAP_HEX_UUID_LEN]) argument
83 forward_get_random_bytes(AtapOps* ops, uint8_t* buf, uint32_t buf_size) argument
91 forward_auth_key_sign(AtapOps* ops, const uint8_t* nonce, uint32_t nonce_len, uint8_t sig[ATAP_SIGNATURE_LEN_MAX], uint32_t* sig_len) argument
101 forward_ecdh_shared_secret_compute( AtapOps* ops, AtapCurveType curve, const uint8_t other_public_key[ATAP_ECDH_KEY_LEN], uint8_t public_key[ATAP_ECDH_KEY_LEN], uint8_t shared_secret[ATAP_ECDH_SHARED_SECRET_LEN]) argument
113 forward_aes_gcm_128_encrypt(AtapOps* ops, const uint8_t* plaintext, uint32_t len, const uint8_t iv[ATAP_GCM_IV_LEN], const uint8_t key[ATAP_AES_128_KEY_LEN], uint8_t* ciphertext, uint8_t tag[ATAP_GCM_TAG_LEN]) argument
125 forward_aes_gcm_128_decrypt(AtapOps* ops, const uint8_t* ciphertext, uint32_t len, const uint8_t iv[ATAP_GCM_IV_LEN], const uint8_t key[ATAP_AES_128_KEY_LEN], const uint8_t tag[ATAP_GCM_TAG_LEN], uint8_t* plaintext) argument
137 forward_sha256(AtapOps* ops, const uint8_t* plaintext, uint32_t plaintext_len, uint8_t hash[ATAP_SHA256_DIGEST_LEN]) argument
145 forward_hkdf_sha256(AtapOps* ops, const uint8_t* salt, uint32_t salt_len, const uint8_t* ikm, uint32_t ikm_len, const uint8_t* info, uint32_t info_len, uint8_t* okm, uint32_t okm_len) argument
[all...]
/system/core/adb/
H A Dset_verity_enable_state_service.cpp106 static bool set_avb_verity_enabled_state(int fd, AvbOps* ops, bool enable_verity) { argument
115 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) {
125 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) {
169 AvbOps* ops = avb_ops_user_new(); local
170 if (ops == nullptr) {
171 WriteFdFmt(fd, "Error getting AVB ops\n");
174 if (set_avb_verity_enabled_state(fd, ops, enable)) {
177 avb_ops_user_free(ops);
/system/extras/tests/memtest/
H A Dfptest.cpp51 static void endTime(const char *str, double ops) argument
55 printf("Test: %s, %f Mops\n", str, ops / ds / 1e6);
66 // Do ~1 billion ops
101 // Do ~1 billion ops
/system/bt/include/hardware/
H A Dbt_sdp.h106 bluetooth_sdp_ops_record ops; member in union:__anon826
/system/iot/attestation/atap/libatap/
H A Datap_commands.c26 AtapOps* ops,
38 ret = derive_session_key(ops,
48 return ops->auth_key_sign(
49 ops, nonce, ATAP_NONCE_LEN, *signature, signature_len);
53 AtapOps* ops, AtapInnerCaRequest* inner_ca_request) {
68 ret = ops->read_attestation_public_key(
69 ops,
76 ret = ops->read_attestation_public_key(
77 ops,
84 ret = ops
25 auth_key_signature_generate( AtapOps* ops, uint8_t device_pubkey[ATAP_ECDH_KEY_LEN], uint8_t ca_pubkey[ATAP_ECDH_KEY_LEN], uint8_t** signature, uint32_t* signature_len) argument
52 read_available_public_keys( AtapOps* ops, AtapInnerCaRequest* inner_ca_request) argument
99 initialize_session(AtapOps* ops, const uint8_t* operation_start, uint32_t operation_start_size, AtapKeyType* auth_key_type, uint8_t ca_pubkey[ATAP_ECDH_KEY_LEN], AtapCaRequest* ca_request, AtapInnerCaRequest* inner_ca_request) argument
158 compute_auth_signature( AtapOps* ops, uint8_t ca_pubkey[ATAP_ECDH_KEY_LEN], uint8_t device_pubkey[ATAP_ECDH_KEY_LEN], AtapInnerCaRequest* inner_ca_request) argument
178 read_product_id_hash(AtapOps* ops, AtapInnerCaRequest* inner_ca_request) argument
191 encrypt_inner_ca_request( AtapOps* ops, const AtapInnerCaRequest* inner_ca_request, AtapCaRequest* ca_request) argument
229 decrypt_encrypted_message(AtapOps* ops, const uint8_t* buf, uint32_t buf_size, uint8_t* key, uint8_t** plaintext, uint32_t* plaintext_len) argument
260 write_attestation_data(AtapOps* ops, uint8_t** buf_ptr, AtapKeyType key_type) argument
298 write_inner_ca_response(AtapOps* ops, uint8_t* inner_ca_resp_ptr, uint32_t inner_ca_resp_len) argument
338 atap_get_ca_request(AtapOps* ops, const uint8_t* operation_start, uint32_t operation_start_size, uint8_t** ca_request_p, uint32_t* ca_request_size_p) argument
407 atap_set_ca_response(AtapOps* ops, const uint8_t* ca_response, uint32_t ca_response_size) argument
[all...]
H A Datap_util.c331 AtapOps* ops,
343 return ops->hkdf_sha256(ops,
330 derive_session_key( AtapOps* ops, const uint8_t device_pubkey[ATAP_ECDH_KEY_LEN], const uint8_t ca_pubkey[ATAP_ECDH_KEY_LEN], const uint8_t shared_secret[ATAP_ECDH_SHARED_SECRET_LEN], const char* info, uint8_t* okm, uint32_t okm_len) argument
/system/update_engine/payload_generator/
H A Ddelta_diff_utils_unittest.cc482 vector<AnnotatedOperation> ops = {noop, aop1, noop, noop, aop2, noop}; local
483 diff_utils::FilterNoopOperations(&ops);
484 EXPECT_EQ(2u, ops.size());
485 EXPECT_EQ("aop1", ops[0].name);
486 EXPECT_EQ("aop2", ops[1].name);
H A Ddelta_diff_utils.cc213 // Merge each file processor's ops list to aops.
231 // The list of ops to reach the new file from the old file.
886 void FilterNoopOperations(vector<AnnotatedOperation>* ops) { argument
887 ops->erase(
889 ops->begin(), ops->end(),
891 ops->end());
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd.h63 #define ddop_open(dir, a1, a2, ...) dir.ops->op_open(a1, a2, __VA_ARGS__)
64 #define ddop_close(dir, a1) dir.ops->op_close(a1)
65 #define ddop_fcntl(dir, a1, a2, ...) dir.ops->op_fcntl(a1, a2, __VA_ARGS__)
66 #define ddop_ioctl(dir, a1, a2, ...) dir.ops->op_ioctl(a1, a2, __VA_ARGS__)
67 #define ddop_fsync(dir, a1) dir.ops->op_fsync(a1)
68 #define ddop_ftruncate(dir, a1, a2) dir.ops->op_ftruncate(a1, a2)
69 #define ddop_lseek(dir, a1, a2, a3) dir.ops->op_lseek(a1, a2, a3)
70 #define ddop_read(dir, a1, a2, a3) dir.ops->op_read(a1, a2, a3)
71 #define ddop_write(dir, a1, a2, a3) dir.ops->op_write(a1, a2, a3)
90 struct ddfops const *ops; /* op member in struct:__anon1853
[all...]
/system/core/libsparse/
H A Doutput_file.c83 struct output_file_ops *ops; member in struct:output_file
363 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
388 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
392 ret = out->ops->write(out, &fill_val, sizeof(fill_val));
424 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
428 ret = out->ops->write(out, data, len);
432 ret = out->ops->write(out, out->zero_buf, zero_len);
460 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
464 out->ops->write(out, &out->crc32, 4);
488 ret = out->ops
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c1001 int set_camera_metadata_vendor_tag_ops(const vendor_tag_query_ops_t* ops) { argument
1003 (void) ops;
1009 int set_camera_metadata_vendor_ops(const vendor_tag_ops_t* ops) { argument
1010 vendor_tag_ops = ops;
/system/netd/server/
H A DRouteController.cpp127 static const char *ops[4] = {"adding", "deleting", "getting", "???"}; local
128 return ops[action % 4];

Completed in 342 milliseconds