Home
last modified time | relevance | path

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

12

/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/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()
357 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_fill_chunk()
360 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk()
388 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_data_chunk()
391 ret = out->ops->write(out, data, len); in write_sparse_data_chunk()
394 ret = out->ops->write(out, out->zero_buf, zero_len); in write_sparse_data_chunk()
419 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); in write_sparse_end_chunk()
423 out->ops->write(out, &out->crc32, 4); in write_sparse_end_chunk()
445 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/bt/bta/sdp/
Dbta_sdp_act.cc179 record->ops.hdr.type = SDP_TYPE_OPP_SERVER; in bta_create_ops_sdp_record()
180 record->ops.hdr.service_name_length = 0; in bta_create_ops_sdp_record()
181 record->ops.hdr.service_name = NULL; in bta_create_ops_sdp_record()
182 record->ops.hdr.rfcomm_channel_number = 0; in bta_create_ops_sdp_record()
183 record->ops.hdr.l2cap_psm = -1; in bta_create_ops_sdp_record()
184 record->ops.hdr.profile_version = 0; in bta_create_ops_sdp_record()
185 record->ops.supported_formats_list_len = 0; in bta_create_ops_sdp_record()
189 record->ops.hdr.service_name_length = in bta_create_ops_sdp_record()
191 record->ops.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_ops_sdp_record()
196 record->ops.hdr.profile_version = pversion; in bta_create_ops_sdp_record()
[all …]
/system/unwinding/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/libsnapshot/
Dcow_reader.cpp420 CowOpIter(std::shared_ptr<std::vector<CowOperation>>& ops);
431 CowOpIter::CowOpIter(std::shared_ptr<std::vector<CowOperation>>& ops) { in CowOpIter() argument
432 ops_ = ops; in CowOpIter()
452 explicit CowOpReverseIter(std::shared_ptr<std::vector<CowOperation>> ops);
463 CowOpReverseIter::CowOpReverseIter(std::shared_ptr<std::vector<CowOperation>> ops) { in CowOpReverseIter() argument
464 ops_ = ops; in CowOpReverseIter()
/system/chre/apps/tflm_demo/src/
Dmodel.cc36 ::tflite::ops::micro::Register_FULLY_CONNECTED(), 1, 4); in RegisterSelectedOps()
/system/security/keystore2/test_utils/
Dlib.rs20 use std::{env::temp_dir, ops::Deref};
/system/bt/gd/rust/shim/src/
Dstack.rs7 use std::ops::{Deref, DerefMut};
Dcontroller.rs6 use std::ops::Deref;
/system/hardware/interfaces/suspend/1.0/
DIWakeLock.hal27 * called. Subsequent calls must result in no-ops. If no unreleased wake
/system/core/fs_mgr/
Dfs_mgr_remount.cpp305 if (AvbOps* ops = avb_ops_user_new()) { in do_remount() local
307 ops, android::base::GetProperty("ro.boot.slot_suffix", "").c_str(), in do_remount()
309 avb_ops_user_free(ops); in do_remount()
/system/bt/include/hardware/
Dbt_sdp.h117 bluetooth_sdp_ops_record ops; member
/system/security/keystore2/src/crypto/
Dzvec.rs19 use std::ops::{Deref, DerefMut};
/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/unwinding/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/security/keystore2/selinux/src/
Dlib.rs34 pub use std::ops::Deref;
/system/netd/server/
DRouteController.cpp120 static const char *ops[4] = {"adding", "deleting", "getting", "???"}; in actionName() local
121 return ops[action % 4]; in actionName()
/system/security/keystore2/src/
Dlegacy_migrator.rs34 use core::ops::Deref;
Dsuper_key.rs55 use std::{convert::TryFrom, ops::Deref};
/system/bt/btif/src/
Dbtif_sdp_server.cc335 handle = add_opps_sdp(&record->ops); in on_create_record_event()
/system/core/init/
DREADME.md413 otherwise bootchart start/stop are no-ops.

12