Home
last modified time | relevance | path

Searched refs:Descriptor (Results 1 – 25 of 32) sorted by relevance

12

/system/bt/service/common/bluetooth/
Ddescriptor.cc20 Descriptor::Descriptor(const Descriptor& other) { in Descriptor() function in bluetooth::Descriptor
26 Descriptor& Descriptor::operator=(const Descriptor& other) { in operator =()
36 bool Descriptor::Equals(const Descriptor& other) const { in Equals()
41 bool Descriptor::operator==(const Descriptor& rhs) const { return Equals(rhs); } in operator ==()
43 bool Descriptor::operator!=(const Descriptor& rhs) const { in operator !=()
Ddescriptor.h22 class Descriptor {
24 Descriptor() = default;
25 Descriptor(const Descriptor& other);
26 Descriptor& operator=(const Descriptor& other);
27 Descriptor(uint16_t handle, const Uuid& uuid, uint16_t permissions) in Descriptor() function
29 virtual ~Descriptor() = default;
32 bool Equals(const Descriptor& other) const;
33 bool operator==(const Descriptor& rhs) const;
34 bool operator!=(const Descriptor& rhs) const;
Dcharacteristic.h31 const std::vector<Descriptor>& descriptors) in Characteristic()
49 const std::vector<Descriptor>& descriptors() const { return descriptors_; } in descriptors()
50 std::vector<Descriptor>& descriptors() { return descriptors_; } in descriptors()
57 std::vector<Descriptor> descriptors_;
/system/bt/service/test/
Dparcelable_unittest.cc35 using bluetooth::Descriptor;
149 Descriptor s = Descriptor(0x0000, Uuid::GetRandom(), in TEST()
151 Descriptor s2 = Descriptor(0xFFFE, Uuid::GetRandom(), in TEST()
153 Descriptor s3 = Descriptor(0x003D, Uuid::GetRandom(), in TEST()
158 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s); in TEST()
162 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s2); in TEST()
166 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s3); in TEST()
172 {Descriptor(0x0005, Uuid::GetRandom(), 0), in TEST()
173 Descriptor(0x0007, Uuid::GetRandom(), 0), in TEST()
174 Descriptor(0x00A1, Uuid::GetRandom(), 0)}); in TEST()
[all …]
/system/extras/simpleperf/
DJITDebugReader.h144 struct Descriptor { struct
174 Descriptor last_jit_descriptor;
176 Descriptor last_dex_descriptor;
191 bool ReadDebugInfo(Process& process, Descriptor& new_descriptor,
193 bool IsDescriptorChanged(Process& process, Descriptor& old_descriptor);
197 bool ReadDescriptors(Process& process, Descriptor* jit_descriptor, Descriptor* dex_descriptor);
198 bool LoadDescriptor(bool is_64bit, const char* data, Descriptor* descriptor);
200 bool LoadDescriptorImpl(const char* data, Descriptor* descriptor);
202 bool ReadNewCodeEntries(Process& process, const Descriptor& descriptor,
206 bool ReadNewCodeEntriesImpl(Process& process, const Descriptor& descriptor,
DJITDebugReader.cpp370 Descriptor jit_descriptor; in ReadProcess()
371 Descriptor dex_descriptor; in ReadProcess()
386 bool JITDebugReader::ReadDebugInfo(Process& process, Descriptor& new_descriptor, in ReadDebugInfo()
389 Descriptor* old_descriptor = in ReadDebugInfo()
429 bool JITDebugReader::IsDescriptorChanged(Process& process, Descriptor& prev_descriptor) { in IsDescriptorChanged()
430 Descriptor tmp_jit_descriptor; in IsDescriptorChanged()
431 Descriptor tmp_dex_descriptor; in IsDescriptorChanged()
552 bool JITDebugReader::ReadDescriptors(Process& process, Descriptor* jit_descriptor, in ReadDescriptors()
553 Descriptor* dex_descriptor) { in ReadDescriptors()
569 bool JITDebugReader::LoadDescriptor(bool is_64bit, const char* data, Descriptor* descriptor) { in LoadDescriptor()
[all …]
/system/bt/service/common/android/bluetooth/
Dbluetooth_gatt_descriptor.h32 public ::bluetooth::Descriptor {
36 const ::bluetooth::Descriptor& characteristic) // NOLINT(implicit) in BluetoothGattDescriptor()
37 : ::bluetooth::Descriptor(characteristic){}; in BluetoothGattDescriptor()
/system/core/init/
Dservice_utils.h35 class Descriptor {
37 Descriptor(const std::string& name, android::base::unique_fd fd) in Descriptor() function
61 Result<Descriptor> Create(const std::string& global_context) const;
68 Result<Descriptor> Create() const;
Dservice_utils.cpp149 void Descriptor::Publish() const { in Publish()
168 Result<Descriptor> SocketDescriptor::Create(const std::string& global_context) const { in Create()
175 return Descriptor(ANDROID_SOCKET_ENV_PREFIX + name, unique_fd(*result)); in Create()
178 Result<Descriptor> FileDescriptor::Create() const { in Create()
195 return Descriptor(ANDROID_FILE_ENV_PREFIX + name, std::move(fd)); in Create()
/system/bt/bta/gatt/
Ddatabase.h68 struct Descriptor;
91 std::vector<Descriptor> descriptors;
94 struct Descriptor { struct
Ddatabase.cc81 for (const Descriptor& d : c.descriptors) { in ToString()
120 for (const Descriptor& desc : charac.descriptors) { in Serialize()
197 Descriptor{.handle = attr.handle, in Deserialize()
204 Descriptor{.handle = attr.handle, .uuid = attr.type}); in Deserialize()
225 for (const Descriptor& d : c.descriptors) { in Hash()
284 for (const Descriptor& d : c.descriptors) { in Hash()
Ddatabase_builder.cc134 gatt::Descriptor{.handle = handle, .uuid = uuid}); in AddDescriptor()
195 Descriptor* FindDescriptorByHandle(std::list<Service>& services, in FindDescriptorByHandle()
223 Descriptor* d = FindDescriptorByHandle(database.services, in SetValueOfDescriptors()
Dbta_gattc_cache.cc47 using gatt::Descriptor;
56 const Descriptor* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV* p_srcb,
575 const Descriptor* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_descriptor_srcb()
585 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_descriptor_srcb()
593 const Descriptor* bta_gattc_get_descriptor(uint16_t conn_id, uint16_t handle) { in bta_gattc_get_descriptor()
610 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_owning_characteristic_srcb()
857 for (const Descriptor& desc : charac.descriptors) { in bta_gattc_get_gatt_db_impl()
/system/libfmq/include/fmq/
DMessageQueue.h27 typedef MQDescriptor<T, flavor> Descriptor; typedef
28 MessageQueue(const Descriptor& Desc, bool resetPointers = true)
DMessageQueueBase.h37 typedef MQDescriptorType<T, flavor> Descriptor; typedef
44 MessageQueueBase(const Descriptor& Desc, bool resetPointers = true);
230 const Descriptor* getDesc() const { return mDesc.get(); } in getDesc()
443 std::unique_ptr<Descriptor> mDesc;
651 MessageQueueBase<MQDescriptorType, T, flavor>::MessageQueueBase(const Descriptor& Desc, in MessageQueueBase()
653 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor(Desc)); in MessageQueueBase()
762 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) in MessageQueueBase()
763 Descriptor(grantors, mqHandle, sizeof(T))); in MessageQueueBase()
765 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor( in MessageQueueBase()
DAidlMessageQueue.h72 typedef AidlMQDescriptorShim<T, FlavorTypeToValue<U>::value> Descriptor;
117 : MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value>(Descriptor(desc),
/system/tools/aidl/tests/android/aidl/tests/
DINewName.aidl19 @Descriptor(value="android.aidl.tests.IOldName")
/system/core/fs_mgr/libsnapshot/
Dfuzz_utils.cpp26 const google::protobuf::Descriptor* action_desc) { in GetProtoValueDescriptor()
Dfuzz_utils.h40 const google::protobuf::Descriptor* action_desc);
/system/extras/simpleperf/scripts/
Dprofile_pb2.py29 _PROFILE = _descriptor.Descriptor(
151 _VALUETYPE = _descriptor.Descriptor(
189 _SAMPLE = _descriptor.Descriptor(
234 _LABEL = _descriptor.Descriptor(
279 _MAPPING = _descriptor.Descriptor(
373 _LOCATION = _descriptor.Descriptor(
425 _LINE = _descriptor.Descriptor(
463 _FUNCTION = _descriptor.Descriptor(
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py105 _EXTENT = _descriptor.Descriptor(
143 _SIGNATURES_SIGNATURE = _descriptor.Descriptor(
187 _SIGNATURES = _descriptor.Descriptor(
218 _PARTITIONINFO = _descriptor.Descriptor(
256 _IMAGEINFO = _descriptor.Descriptor(
322 _INSTALLOPERATION = _descriptor.Descriptor(
410 _COWMERGEOPERATION = _descriptor.Descriptor(
456 _PARTITIONUPDATE = _descriptor.Descriptor(
613 _DYNAMICPARTITIONGROUP = _descriptor.Descriptor(
658 _DYNAMICPARTITIONMETADATA = _descriptor.Descriptor(
[all …]
/system/tools/aidl/tests/
Daidl_parser_fuzzer.dict55 " @Descriptor "
/system/bt/test/mock/
Dmock_bta_gattc_api.cc54 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor()
/system/bt/bta/vc/
Ddevice.cc64 for (const gatt::Descriptor& desc : p_char->descriptors) { in find_ccc_handle()
/system/bt/bta/hh/
Dbta_hh_le.cc439 static const gatt::Descriptor* find_descriptor_by_short_uuid( in find_descriptor_by_short_uuid()
449 for (const gatt::Descriptor& desc : p_char->descriptors) { in find_descriptor_by_short_uuid()
468 const gatt::Descriptor* p_desc = in bta_hh_le_read_char_descriptor()
647 const gatt::Descriptor* p_desc = find_descriptor_by_short_uuid( in bta_hh_le_write_ccc()
1272 const gatt::Descriptor* p_desc = BTA_GATTC_GetDescriptor(conn_id, handle); in read_report_ref_desc_cb()

12