Home
last modified time | relevance | path

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

/system/core/set-verity-state/
Dset-verity-state.cpp147 static bool set_avb_verity_enabled_state(AvbOps* ops, bool enable_verity) { in set_avb_verity_enabled_state() argument
156 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) { in set_avb_verity_enabled_state()
166 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) { in set_avb_verity_enabled_state()
238 AvbOps* ops = avb_ops_user_new(); in main() local
239 if (ops == nullptr) { in main()
243 if (set_avb_verity_enabled_state(ops, enable)) { in main()
246 avb_ops_user_free(ops); in main()
/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.cpp78 struct output_file_ops* ops; member
334 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_skip_chunk()
356 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
359 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
387 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
390 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
393 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
418 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
422 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
444 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 no_op_read_rollback_index(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_read_rollback_index()
65 AvbOps* ops ATTRIBUTE_UNUSED, const uint8_t* public_key_data ATTRIBUTE_UNUSED, in no_op_validate_vbmeta_public_key()
79 static AvbIOResult no_op_read_is_device_unlocked(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_read_is_device_unlocked()
88 static AvbIOResult no_op_get_unique_guid_for_partition(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_get_unique_guid_for_partition()
99 static AvbIOResult no_op_get_size_of_partition(AvbOps* ops ATTRIBUTE_UNUSED, in no_op_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.cpp563 std::vector<uint8_t> ops{0x0f, 0x81, 0x01}; in TYPED_TEST_P() local
567 ops.push_back(0x05); in TYPED_TEST_P()
577 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
601 std::vector<uint8_t> ops{0x10, 0xff, 0x01, 0x82, 0x01}; in TYPED_TEST_P() local
605 ops.push_back(0xa0 + (i - 5) % 96); in TYPED_TEST_P()
607 op_string += android::base::StringPrintf("4 unwind Raw Data: 0x%02x\n", ops.back()); in TYPED_TEST_P()
608 expected += android::base::StringPrintf(" 0x%02x", ops.back()); in TYPED_TEST_P()
615 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
685 std::vector<uint8_t> ops{0x16, 0x83, 0x10, 0xa8, 0x01}; in TYPED_TEST_P() local
689 ops.push_back(0xa0 + (i % 96)); in TYPED_TEST_P()
[all …]
DDwarfCfaTest.cpp733 std::vector<uint8_t> ops{0x0f, 0x81, 0x01}; in TYPED_TEST_P() local
735 ops.push_back(i - 1); in TYPED_TEST_P()
737 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
766 std::vector<uint8_t> ops{0x10, 0xff, 0x01, 0x82, 0x01}; in TYPED_TEST_P() local
768 ops.push_back(i - 4); in TYPED_TEST_P()
771 this->memory_.SetMemory(0x200, ops); in TYPED_TEST_P()
866 std::vector<uint8_t> ops{0x16, 0x83, 0x10, 0xa8, 0x01}; in TYPED_TEST_P() local
868 ops.push_back(i); in TYPED_TEST_P()
871 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.cpp301 if (AvbOps* ops = avb_ops_user_new()) { in do_remount() local
303 ops, android::base::GetProperty("ro.boot.slot_suffix", "").c_str(), in do_remount()
305 avb_ops_user_free(ops); in do_remount()
/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/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/core/libunwindstack/
DAndroidVersions.md82 elf file as Dwarf 4. It does not support the new dwarf ops in Dwarf 5.
83 Since the new ops are not likely to be used very often, this allows
/system/netd/server/
DRouteController.cpp137 static const char *ops[4] = {"adding", "deleting", "getting", "???"}; in actionName() local
138 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.md409 otherwise bootchart start/stop are no-ops.