Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 18 of 18) sorted by relevance

/system/core/adb/daemon/
Dset_verity_enable_state_service.cpp150 static bool set_avb_verity_enabled_state(int fd, AvbOps* ops, bool enable_verity) { in set_avb_verity_enabled_state() argument
159 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) { in set_avb_verity_enabled_state()
169 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) { in set_avb_verity_enabled_state()
212 AvbOps* ops = avb_ops_user_new(); in set_verity_enabled_state_service() local
213 if (ops == nullptr) { in set_verity_enabled_state_service()
217 if (set_avb_verity_enabled_state(fd.get(), ops, enable)) { in set_verity_enabled_state_service()
220 avb_ops_user_free(ops); in set_verity_enabled_state_service()
/system/bt/bta/sdp/
Dbta_sdp_act.cc196 record->ops.hdr.type = SDP_TYPE_OPP_SERVER; in bta_create_ops_sdp_record()
197 record->ops.hdr.service_name_length = 0; in bta_create_ops_sdp_record()
198 record->ops.hdr.service_name = NULL; in bta_create_ops_sdp_record()
199 record->ops.hdr.rfcomm_channel_number = 0; in bta_create_ops_sdp_record()
200 record->ops.hdr.l2cap_psm = -1; in bta_create_ops_sdp_record()
201 record->ops.hdr.profile_version = 0; in bta_create_ops_sdp_record()
202 record->ops.supported_formats_list_len = 0; in bta_create_ops_sdp_record()
206 record->ops.hdr.service_name_length = in bta_create_ops_sdp_record()
208 record->ops.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_ops_sdp_record()
213 record->ops.hdr.profile_version = pversion; in bta_create_ops_sdp_record()
[all …]
/system/core/libsparse/
Doutput_file.cpp84 struct output_file_ops* ops; member
340 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
362 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
365 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
393 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
396 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
399 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
424 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
428 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
450 ret = out->ops->write(out, data, len); in write_normal_data_chunk()
[all …]
/system/core/fs_mgr/libfs_avb/
Davb_ops.cpp49 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, in read_from_partition() argument
51 return FsManagerAvbOps::GetInstanceFromAvbOps(ops)->ReadFromPartition( in read_from_partition()
55 static AvbIOResult dummy_read_rollback_index(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_read_rollback_index()
65 AvbOps* ops ATTRIBUTE_UNUSED, const uint8_t* public_key_data ATTRIBUTE_UNUSED, in dummy_validate_vbmeta_public_key()
79 static AvbIOResult dummy_read_is_device_unlocked(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_read_is_device_unlocked()
88 static AvbIOResult dummy_get_unique_guid_for_partition(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_get_unique_guid_for_partition()
99 static AvbIOResult dummy_get_size_of_partition(AvbOps* ops ATTRIBUTE_UNUSED, in dummy_get_size_of_partition()
Davb_ops.h53 static FsManagerAvbOps* GetInstanceFromAvbOps(AvbOps* ops) { in GetInstanceFromAvbOps() argument
54 return reinterpret_cast<FsManagerAvbOps*>(ops->user_data); in GetInstanceFromAvbOps()
/system/core/libunwindstack/tests/
DDwarfCfaLogTest.cpp562 std::vector<uint8_t> ops{0x0f, 0x81, 0x01}; in TYPED_TEST_P() local
566 ops.push_back(0x05); in TYPED_TEST_P()
576 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
600 std::vector<uint8_t> ops{0x10, 0xff, 0x01, 0x82, 0x01}; in TYPED_TEST_P() local
604 ops.push_back(0xa0 + (i - 5) % 96); in TYPED_TEST_P()
606 op_string += android::base::StringPrintf("4 unwind Raw Data: 0x%02x\n", ops.back()); in TYPED_TEST_P()
607 expected += android::base::StringPrintf(" 0x%02x", ops.back()); in TYPED_TEST_P()
614 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
684 std::vector<uint8_t> ops{0x16, 0x83, 0x10, 0xa8, 0x01}; in TYPED_TEST_P() local
688 ops.push_back(0xa0 + (i % 96)); in TYPED_TEST_P()
[all …]
DDwarfCfaTest.cpp731 std::vector<uint8_t> ops{0x0f, 0x81, 0x01}; in TYPED_TEST_P() local
733 ops.push_back(i - 1); in TYPED_TEST_P()
735 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
764 std::vector<uint8_t> ops{0x10, 0xff, 0x01, 0x82, 0x01}; in TYPED_TEST_P() local
766 ops.push_back(i - 4); in TYPED_TEST_P()
769 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
864 std::vector<uint8_t> ops{0x16, 0x83, 0x10, 0xa8, 0x01}; in TYPED_TEST_P() local
866 ops.push_back(i); in TYPED_TEST_P()
869 this->memory_.SetMemory(0xa00, ops); in TYPED_TEST_P()
/system/extras/tests/mmc_tracepoints/
DREADME15 The output is in a form of start/stop pairs. The ops with rw in the name are
16 read or write ops, and the ones with erase in the name are the various erase
/system/core/fs_mgr/
Dfs_mgr_remount.cpp260 if (AvbOps* ops = avb_ops_user_new()) { in main() local
262 ops, android::base::GetProperty("ro.boot.slot_suffix", "").c_str(), in main()
264 avb_ops_user_free(ops); in main()
/system/hardware/interfaces/suspend/1.0/
DIWakeLock.hal27 * called. Subsequent calls must result in no-ops. If no unreleased wake
/system/bt/include/hardware/
Dbt_sdp.h106 bluetooth_sdp_ops_record ops; member
/system/update_engine/payload_generator/
Ddelta_diff_utils.h136 void FilterNoopOperations(std::vector<AnnotatedOperation>* ops);
Ddelta_diff_utils_unittest.cc539 vector<AnnotatedOperation> ops = {noop, aop1, noop, noop, aop2, noop}; in TEST_F() local
540 diff_utils::FilterNoopOperations(&ops); in TEST_F()
541 EXPECT_EQ(2u, ops.size()); in TEST_F()
542 EXPECT_EQ("aop1", ops[0].name); in TEST_F()
543 EXPECT_EQ("aop2", ops[1].name); in TEST_F()
Ddelta_diff_utils.cc1031 void FilterNoopOperations(vector<AnnotatedOperation>* ops) { in FilterNoopOperations() argument
1032 ops->erase(std::remove_if(ops->begin(), in FilterNoopOperations()
1033 ops->end(), in FilterNoopOperations()
1037 ops->end()); in FilterNoopOperations()
/system/media/camera/src/
Dcamera_metadata.c1038 int set_camera_metadata_vendor_tag_ops(const vendor_tag_query_ops_t* ops) { in set_camera_metadata_vendor_tag_ops() argument
1040 (void) ops; in set_camera_metadata_vendor_tag_ops()
1046 int set_camera_metadata_vendor_ops(const vendor_tag_ops_t* ops) { in set_camera_metadata_vendor_ops() argument
1047 vendor_tag_ops = ops; in set_camera_metadata_vendor_ops()
/system/netd/server/
DRouteController.cpp128 static const char *ops[4] = {"adding", "deleting", "getting", "???"}; in actionName() local
129 return ops[action % 4]; in actionName()
/system/bt/btif/src/
Dbtif_sdp_server.cc337 handle = add_opps_sdp(&record->ops); in on_create_record_event()
/system/core/init/
DREADME.md402 otherwise bootchart start/stop are no-ops.