Home
last modified time | relevance | path

Searched refs:property (Results 1 – 25 of 108) sorted by relevance

12345

/system/bt/btcore/src/
Dproperty.c111 void property_free(bt_property_t *property) { in property_free() argument
112 property_free_array(property, 1); in property_free()
126 bool property_is_addr(const bt_property_t *property) { in property_is_addr() argument
127 assert(property != NULL); in property_is_addr()
128 return property->type == BT_PROPERTY_BDADDR; in property_is_addr()
131 bool property_is_device_class(const bt_property_t *property) { in property_is_device_class() argument
132 assert(property != NULL); in property_is_device_class()
133 return property->type == BT_PROPERTY_CLASS_OF_DEVICE; in property_is_device_class()
136 bool property_is_device_type(const bt_property_t *property) { in property_is_device_type() argument
137 assert(property != NULL); in property_is_device_type()
[all …]
/system/bt/btcore/test/
Dproperty_test.cpp31 bt_property_t *property = property_new_addr(&addr0); in TEST_F() local
33 EXPECT_EQ(addr0.address[0], ((uint8_t*)property->val)[0]); in TEST_F()
34 EXPECT_EQ(addr0.address[1], ((uint8_t*)property->val)[1]); in TEST_F()
35 EXPECT_EQ(addr0.address[2], ((uint8_t*)property->val)[2]); in TEST_F()
36 EXPECT_EQ(addr0.address[3], ((uint8_t*)property->val)[3]); in TEST_F()
37 EXPECT_EQ(addr0.address[4], ((uint8_t*)property->val)[4]); in TEST_F()
38 EXPECT_EQ(addr0.address[5], ((uint8_t*)property->val)[5]); in TEST_F()
39 EXPECT_EQ(BT_PROPERTY_BDADDR, property->type); in TEST_F()
40 EXPECT_EQ((int)sizeof(bt_bdaddr_t), property->len); in TEST_F()
42 const bt_bdaddr_t *addr1 = property_as_addr(property); in TEST_F()
[all …]
/system/bt/btcore/include/
Dproperty.h53 void property_free(bt_property_t *property);
59 bool property_is_addr(const bt_property_t *property);
60 bool property_is_device_class(const bt_property_t *property);
61 bool property_is_device_type(const bt_property_t *property);
62 bool property_is_discovery_timeout(const bt_property_t *property);
63 bool property_is_name(const bt_property_t *property);
64 bool property_is_rssi(const bt_property_t *property);
65 bool property_is_scan_mode(const bt_property_t *property);
66 bool property_is_uuids(const bt_property_t *property);
70 const bt_bdaddr_t *property_as_addr(const bt_property_t *property);
[all …]
/system/connectivity/shill/vpn/
Dvpn_driver.cc69 const string property = properties_[i].property; in Load() local
74 if (storage->GetStringList(storage_id, property, &value)) { in Load()
75 args_.SetStrings(property, value); in Load()
77 args_.RemoveStrings(property); in Load()
82 storage->GetCryptedString(storage_id, property, &value) : in Load()
83 storage->GetString(storage_id, property, &value); in Load()
85 args_.SetString(property, value); in Load()
87 args_.RemoveString(property); in Load()
103 const string property = properties_[i].property; in Save() local
107 if (!args_.ContainsStrings(property)) { in Save()
[all …]
/system/core/logcat/
Dlogpersist11 property=persist.logd.logpersistd
13 case `getprop ${property#persist.}.enable` in
84 setprop ${property#persist.} "clear"
107 setprop ${property#persist.} "clear"
110 setprop ${property}.buffer "${buffer}"
113 setprop ${property#persist.}.buffer ""
117 setprop ${property}.size "${size}"
120 setprop ${property#persist.}.size ""
127 setprop ${property} ${service}
130 getprop ${property#persist.}
[all …]
Dlogcatd.rc4 # Make sure any property changes are only performed with /data mounted, after
11 on property:persist.logd.logpersistd.size=256
15 on property:persist.logd.logpersistd.size=*
16 # expect /init to report failure if property empty (default)
19 on property:persist.logd.logpersistd.buffer=all
23 on property:persist.logd.logpersistd.buffer=*
24 # expect /init to report failure if property empty (default)
27 on property:persist.logd.logpersistd=logcatd
34 on property:logd.logpersistd.enable=true && property:logd.logpersistd=logcatd
43 on property:logd.logpersistd.enable=true && property:logd.logpersistd=clear
[all …]
/system/bt/service/hal/
Dfake_bluetooth_interface.cpp113 bt_property_t property; in NotifyAdapterNamePropertyChanged() local
114 property.len = sizeof(hal_name); in NotifyAdapterNamePropertyChanged()
115 property.val = &hal_name; in NotifyAdapterNamePropertyChanged()
116 property.type = BT_PROPERTY_BDNAME; in NotifyAdapterNamePropertyChanged()
118 NotifyAdapterPropertiesChanged(1, &property); in NotifyAdapterNamePropertyChanged()
123 bt_property_t property; in NotifyAdapterAddressPropertyChanged() local
124 property.len = sizeof(bt_bdaddr_t); in NotifyAdapterAddressPropertyChanged()
125 property.val = (void*)address; in NotifyAdapterAddressPropertyChanged()
126 property.type = BT_PROPERTY_BDADDR; in NotifyAdapterAddressPropertyChanged()
128 NotifyAdapterPropertiesChanged(1, &property); in NotifyAdapterAddressPropertyChanged()
[all …]
/system/connectivity/shill/
Dstatic_ip_parameters.cc63 const Property& property = kProperties[i]; in PlumbPropertyStore() local
64 const string name(string(kConfigKeyPrefix) + property.name); in PlumbPropertyStore()
65 const string saved_name(string(kSavedConfigKeyPrefix) + property.name); in PlumbPropertyStore()
66 switch (property.type) { in PlumbPropertyStore()
153 const Property& property = kProperties[i]; in Load() local
154 const string name(string(kConfigKeyPrefix) + property.name); in Load()
155 switch (property.type) { in Load()
160 args_.SetInt(property.name, value); in Load()
162 args_.RemoveInt(property.name); in Load()
170 args_.SetString(property.name, value); in Load()
[all …]
Dproperty_accessor.h60 explicit PropertyAccessor(T* property) in PropertyAccessor() argument
61 : property_(property), default_value_(*property) { in PropertyAccessor()
62 DCHECK(property); in PropertyAccessor()
85 explicit ConstPropertyAccessor(const T* property) : property_(property) { in ConstPropertyAccessor() argument
86 DCHECK(property); in ConstPropertyAccessor()
111 explicit WriteOnlyPropertyAccessor(T* property) in WriteOnlyPropertyAccessor() argument
112 : property_(property), default_value_(*property) { in WriteOnlyPropertyAccessor()
113 DCHECK(property); in WriteOnlyPropertyAccessor()
Dkey_file_store.cc392 for (const auto& property : properties.properties()) { in DoesGroupMatchProperties() local
393 if (property.second.IsTypeCompatible<bool>()) { in DoesGroupMatchProperties()
395 if (!GetBool(group, property.first, &value) || in DoesGroupMatchProperties()
396 value != property.second.Get<bool>()) { in DoesGroupMatchProperties()
399 } else if (property.second.IsTypeCompatible<int32_t>()) { in DoesGroupMatchProperties()
401 if (!GetInt(group, property.first, &value) || in DoesGroupMatchProperties()
402 value != property.second.Get<int32_t>()) { in DoesGroupMatchProperties()
405 } else if (property.second.IsTypeCompatible<string>()) { in DoesGroupMatchProperties()
407 if (!GetString(group, property.first, &value) || in DoesGroupMatchProperties()
408 value != property.second.Get<string>()) { in DoesGroupMatchProperties()
/system/bt/tools/bdtool/
Dadapter.c32 static void parse_properties(int num_properties, bt_property_t *property);
122 void device_found(int num_properties, bt_property_t *property) { in device_found() argument
124 parse_properties(num_properties, property); in device_found()
207 static void parse_properties(int num_properties, bt_property_t *property) { in parse_properties() argument
209 switch(property->type) { in parse_properties()
212 const bt_bdname_t *name = property_as_name(property); in parse_properties()
221 const bt_bdaddr_t *addr = property_as_addr(property); in parse_properties()
230 const bt_uuid_t *uuid = property_as_uuids(property, &num_uuid); in parse_properties()
245 bt_device_type_t device_type = property_as_device_type(property); in parse_properties()
265 const bt_device_class_t *dc = property_as_device_class(property); in parse_properties()
[all …]
Dbdtool.c120 bt_property_t *property = property_new_scan_mode(BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE); in main() local
122 int rc = bt_interface->set_adapter_property(property); in main()
127 property_free(property); in main()
162 bt_property_t *property = adapter_get_property(BT_PROPERTY_BDNAME); in main() local
163 const bt_bdname_t *name = property_as_name(property); in main()
174 bt_property_t *property = property_new_name(bd_name); in main() local
177 CALL_AND_WAIT(error = bt_interface->set_adapter_property(property), adapter_properties); in main()
187 property_free(property); in main()
197 bt_property_t *property = property_new_scan_mode(BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE); in main() local
198 CALL_AND_WAIT(bt_interface->set_adapter_property(property), adapter_properties); in main()
[all …]
/system/core/rootdir/
Dinit.usb.configfs.rc1 on property:sys.usb.config=none && property:sys.usb.configfs=1
9 on property:sys.usb.config=adb && property:sys.usb.configfs=1
12 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=adb && property:sys.usb.configfs=1
21 on property:sys.usb.config=mtp && property:sys.usb.configfs=1
30 on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1
33 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1
43 on property:sys.usb.config=ptp && property:sys.usb.configfs=1
52 on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1
55 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1
65 on property:sys.usb.config=accessory && property:sys.usb.configfs=1
[all …]
Dinit.usb.rc14 # adbd is controlled via property triggers in init.<platform>.usb.rc
22 on property:ro.kernel.qemu=1
29 on property:sys.usb.config=none && property:sys.usb.configfs=0
38 on property:sys.usb.config=adb && property:sys.usb.configfs=0
48 on property:sys.usb.config=accessory && property:sys.usb.configfs=0
57 on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=0
67 on property:sys.usb.config=audio_source && property:sys.usb.configfs=0
76 on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=0
86 on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=0
95 on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=0
[all …]
Dinit-debug.rc1 on property:persist.mmc.max_read_speed=*
4 on property:persist.mmc.max_write_speed=*
7 on property:persist.mmc.cache_size=*
/system/media/camera/docs/
Dmetadata_model.py56 @property
60 @property
221 @property
228 @property
232 @property
616 @property
620 @property
624 @property
650 @property
654 @property
[all …]
/system/connectivity/shill/doc/
Dservice-api.txt15 Change the value of the specified property. Only
28 Each property from the dict is applied, excluding
29 the "Profile" property and all properties intrinsic
43 Clear the value of the specified property. Only
54 ClearProperty above on each of the property names
126 property, or monitor the PropertyChanged
156 property, or monitor the PropertyChanged
185 property.
195 On a successful connection, this property may be
197 type and if this property was not explicitly set on
[all …]
Ddevice-api.txt15 Changes the value of the specified property. Only
46 available, the Device.Networks property is
52 the property Cellular.FoundNetworks (see below) is
152 property lists all supported carriers.
222 property.
236 A change to this property takes affect on the next
245 A change to this property takes affect on the next
254 A change to this property takes affect on the next
262 property is false, data connections are not
270 If the property is true, and a data connection was
[all …]
/system/core/toolbox/
Dstart_stop.cpp18 const char* property = start ? "ctl.start" : "ctl.stop"; in start_stop() local
22 property_set(property, argv[1]); in start_stop()
26 property_set(property, services[i]); in start_stop()
30 property_set(property, services[i]); in start_stop()
/system/bt/service/
Dadapter.cpp261 bt_property_t* property = properties + i; in AdapterPropertiesCallback() local
262 switch (property->type) { in AdapterPropertiesCallback()
265 property->val)); in AdapterPropertiesCallback()
271 bt_bdname_t* hal_name = reinterpret_cast<bt_bdname_t*>(property->val); in AdapterPropertiesCallback()
279 if (property->len != sizeof(bt_local_le_features_t)) { in AdapterPropertiesCallback()
285 reinterpret_cast<bt_local_le_features_t*>(property->val); in AdapterPropertiesCallback()
292 << BtPropertyText(property->type); in AdapterPropertiesCallback()
335 bt_property_t property; in SetAdapterProperty() local
336 property.len = length; in SetAdapterProperty()
337 property.val = value; in SetAdapterProperty()
[all …]
/system/core/logd/
Dmain.cpp162 char property[PROPERTY_VALUE_MAX]; in property_get_bool() local
167 property_get(newkey, property, ""); in property_get_bool()
174 property_get(newkey, def, property); in property_get_bool()
177 property_get(key, property, def); in property_get_bool()
179 if (check_flag(property, "true")) { in property_get_bool()
182 if (check_flag(property, "false")) { in property_get_bool()
185 if (check_flag(property, "eng")) { in property_get_bool()
189 if (check_flag(property, "svelte")) { in property_get_bool()
205 property_get("ro.build.type", property, ""); in property_get_bool()
206 if (!strcmp(property, "user")) { in property_get_bool()
DLogWhiteBlackList.cpp94 char property[PROPERTY_VALUE_MAX]; in init() local
95 property_get("ro.logd.filter", property, _default); in init()
96 filter = property; in init()
97 property_get("persist.logd.filter", property, filter.c_str()); in init()
99 if (strcmp(property, _default)) { in init()
100 filter = property; in init()
/system/connectivity/shill/bin/
Dset_apn67 local property="$2"
70 | sed -n "/${property}/s/.*\///p"
126 local property="$2"
129 | sed -n "/\/${property}/{s/.* //p}"
/system/core/bootstat/
Dbootstat.rc10 # property:init.svc.bootanim=running: The boot animation is running
11 on post-fs-data && property:init.svc.bootanim=running
29 on property:init.svc.zygote=stopping
33 on property:sys.boot_completed=1 && property:sys.logbootcomplete=1
/system/bt/btif/include/
Dbtif_storage.h50 bt_status_t btif_storage_get_adapter_property(bt_property_t *property);
63 bt_status_t btif_storage_set_adapter_property(bt_property_t *property);
79 bt_property_t *property);
93 bt_property_t *property);

12345