Searched refs:properties (Results 1 - 25 of 67) sorted by relevance

123

/system/bt/test/suite/support/
H A Dadapter.c27 static bt_property_t *properties = NULL; variable
42 if (properties[i].type == type) {
43 return &properties[i];
79 property_free_array(properties, property_count);
80 properties = property_copy_array(new_properties, num_properties);
95 void device_found(int num_properties, bt_property_t *properties) { argument
107 int num_properties, bt_property_t *properties) {
106 remote_device_properties(bt_status_t status, bt_bdaddr_t *bd_addr, int num_properties, bt_property_t *properties) argument
H A Dcallbacks.c24 void adapter_properties(bt_status_t status, int num_properties, bt_property_t *properties);
28 void device_found(int num_properties, bt_property_t *properties);
30 void remote_device_properties(bt_status_t status, bt_bdaddr_t *bd_addr, int num_properties, bt_property_t *properties);
/system/core/toolbox/
H A Dstart.c6 #include <cutils/properties.h>
H A Dstop.c4 #include <cutils/properties.h>
H A Dwatchprops.c7 #include <cutils/properties.h>
/system/bt/btcore/src/
H A Dproperty.c29 bt_property_t *property_copy_array(const bt_property_t *properties, size_t count) { argument
30 assert(properties != NULL);
36 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count);
39 memcpy(clone[i].val, properties[i].val, clone[i].len);
52 // Two null properties are not the same. May need to revisit that
118 void property_free_array(bt_property_t *properties, size_t count) { argument
119 if (properties == NULL)
123 osi_free(properties[i].val);
126 osi_free(properties);
/system/bt/tools/bdtool/
H A Dadapter.c27 static bt_property_t *properties = NULL; variable
39 // Returns the number of adapter properties.
47 if (properties[i].type == type) {
48 return &properties[i];
80 property_free_array(properties, property_count);
81 properties = property_copy_array(new_properties, num_properties);
154 bt_property_t *properties) {
159 parse_properties(num_properties, properties);
151 remote_device_properties(bt_status_t status, bt_bdaddr_t *bdaddr, int num_properties, bt_property_t *properties) argument
/system/bt/btcore/include/
H A Dproperty.h27 // Copies an array of consecutive properties of |count| to a newly
28 // allocated array. |properties| must not be NULL.
29 bt_property_t *property_copy_array(const bt_property_t *properties, size_t count);
35 // Returns true if the value of the two properties |p1| and |p2| are equal.
54 void property_free_array(bt_property_t *properties, size_t count);
/system/core/libcutils/
H A Dpartition_utils.c24 #include <cutils/properties.h>
H A Dprocess_name.c29 #include <cutils/properties.h>
/system/core/reboot/
H A Dreboot.c20 #include <cutils/properties.h>
/system/extras/ext4_utils/
H A Dext4_crypt_init_extensions.cpp13 #include <cutils/properties.h>
157 std::string policy = props.Get<std::string>(properties::ref);
H A Dunencrypted_properties.h4 // key names for properties we use
5 namespace properties { namespace
21 // Get path of folder. Must create before using any properties
25 // Opens properties folder on named device.
27 // getters will return default properties and setters will fail.
36 // Get child properties
H A Dext4_crypt.cpp130 return props.Get<int>(properties::is_default, 1) != 1;
H A Dunencrypted_properties.cpp6 namespace properties { namespace
/system/vold/
H A DExt4Crypt.cpp15 #include <cutils/properties.h>
194 UnencryptedProperties key_props = GetProps(path).GetChild(properties::key);
228 if (!UnencryptedProperties(path).Remove(properties::ref)) {
240 auto key_props = GetProps(path).GetChild(properties::key);
269 if (!UnencryptedProperties(path).Set(properties::is_default,
281 auto key_props = GetPropsOrAltProps(path).GetChild(properties::key);
312 auto key_props = props.GetChild(properties::key);
349 if (!props.Set(properties::ref, raw_ref)) {
451 return GetPropsOrAltProps(path).GetChild(properties::key)
490 auto v = GetPropsOrAltProps(path).GetChild(properties
[all...]
/system/bt/btif/co/
H A Dbta_ag_co.c21 #include <cutils/properties.h>
/system/core/libsysutils/src/
H A DServiceManager.cpp8 #include <cutils/properties.h>
/system/extras/perfprofd/
H A Dcpuconfig.cc27 #include <cutils/properties.h>
/system/bt/btif/src/
H A Dbtif_core.c30 #include <cutils/properties.h>
702 bt_property_t properties[6]; local
714 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_BDADDR,
716 btif_storage_get_adapter_property(&properties[num_props]);
720 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_BDNAME,
722 btif_storage_get_adapter_property(&properties[num_props]);
726 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_ADAPTER_SCAN_MODE,
728 btif_storage_get_adapter_property(&properties[num_props]);
732 BTIF_STORAGE_FILL_PROPERTY(&properties[num_props], BT_PROPERTY_ADAPTER_DISCOVERY_TIMEOUT,
734 btif_storage_get_adapter_property(&properties[num_prop
[all...]
H A Dbtif_dm.c40 #include <cutils/properties.h>
555 bt_property_t properties[3]; local
561 memset(properties, 0, sizeof(properties));
567 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties],
569 status = btif_storage_set_remote_device_property(&bdaddr, &properties[num_properties]);
580 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties],
582 status = btif_storage_get_remote_device_property(&bdaddr, &properties[num_properties]);
590 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties],
592 status = btif_storage_set_remote_device_property(&bdaddr, &properties[num_propertie
1256 bt_property_t properties[1]; local
1315 bt_property_t properties[5]; local
[all...]
/system/bt/main/
H A Dbte_main.c30 #include <cutils/properties.h>
/system/bt/utils/src/
H A Dbt_utils.c30 #include <cutils/properties.h>
/system/media/audio/include/system/
H A Dsound_trigger.h23 #define SOUND_TRIGGER_MAX_STRING_LEN 64 /* max length of strings in properties or
89 struct sound_trigger_properties properties; member in struct:sound_trigger_module_descriptor
/system/bt/btif/include/
H A Dbtif_storage.h98 ** properties - RSSI, BDADDR, NAME (if found in EIR)
106 bt_property_t *properties);

Completed in 3769 milliseconds

123