/system/bt/test/suite/support/ |
H A D | adapter.c | 27 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 D | callbacks.c | 24 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 D | start.c | 6 #include <cutils/properties.h>
|
H A D | stop.c | 4 #include <cutils/properties.h>
|
H A D | watchprops.c | 7 #include <cutils/properties.h>
|
/system/bt/btcore/src/ |
H A D | property.c | 29 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 D | adapter.c | 27 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 D | property.h | 27 // 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 D | partition_utils.c | 24 #include <cutils/properties.h>
|
H A D | process_name.c | 29 #include <cutils/properties.h>
|
/system/core/reboot/ |
H A D | reboot.c | 20 #include <cutils/properties.h>
|
/system/extras/ext4_utils/ |
H A D | ext4_crypt_init_extensions.cpp | 13 #include <cutils/properties.h> 157 std::string policy = props.Get<std::string>(properties::ref);
|
H A D | unencrypted_properties.h | 4 // 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 D | ext4_crypt.cpp | 130 return props.Get<int>(properties::is_default, 1) != 1;
|
H A D | unencrypted_properties.cpp | 6 namespace properties { namespace
|
/system/vold/ |
H A D | Ext4Crypt.cpp | 15 #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 D | bta_ag_co.c | 21 #include <cutils/properties.h>
|
/system/core/libsysutils/src/ |
H A D | ServiceManager.cpp | 8 #include <cutils/properties.h>
|
/system/extras/perfprofd/ |
H A D | cpuconfig.cc | 27 #include <cutils/properties.h>
|
/system/bt/btif/src/ |
H A D | btif_core.c | 30 #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 D | btif_dm.c | 40 #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 D | bte_main.c | 30 #include <cutils/properties.h>
|
/system/bt/utils/src/ |
H A D | bt_utils.c | 30 #include <cutils/properties.h>
|
/system/media/audio/include/system/ |
H A D | sound_trigger.h | 23 #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 D | btif_storage.h | 98 ** properties - RSSI, BDADDR, NAME (if found in EIR) 106 bt_property_t *properties);
|