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

123

/system/bt/btcore/src/
H A Dproperty.c23 #include "btcore/include/property.h"
57 // property's `len` field. We special-case the equivalence of BDNAME
111 void property_free(bt_property_t *property) { argument
112 property_free_array(property, 1);
126 bool property_is_addr(const bt_property_t *property) { argument
127 assert(property != NULL);
128 return property->type == BT_PROPERTY_BDADDR;
131 bool property_is_device_class(const bt_property_t *property) { argument
132 assert(property != NULL);
133 return property
136 property_is_device_type(const bt_property_t *property) argument
141 property_is_discovery_timeout(const bt_property_t *property) argument
146 property_is_name(const bt_property_t *property) argument
151 property_is_rssi(const bt_property_t *property) argument
156 property_is_scan_mode(const bt_property_t *property) argument
161 property_is_uuids(const bt_property_t *property) argument
167 property_as_addr(const bt_property_t *property) argument
172 property_as_device_class(const bt_property_t *property) argument
177 property_as_device_type(const bt_property_t *property) argument
182 property_as_discovery_timeout(const bt_property_t *property) argument
187 property_as_name(const bt_property_t *property) argument
192 property_as_rssi(const bt_property_t *property) argument
197 property_as_scan_mode(const bt_property_t *property) argument
202 property_as_uuids(const bt_property_t *property, size_t *count) argument
209 bt_property_t *property = osi_calloc(sizeof(bt_property_t)); local
[all...]
/system/bt/btcore/include/
H A Dproperty.h39 // Property resource allocations. Caller is expected to free |property|
42 // stored in the property.
52 // Property resource frees both property and value.
53 void property_free(bt_property_t *property);
56 // Value check convenience methods. The contents of the property are
58 // |property| must not be NULL.
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);
[all...]
/system/bt/btcore/test/
H A Dproperty_test.cpp24 #include "btcore/include/property.h"
31 bt_property_t *property = property_new_addr(&addr0); local
33 EXPECT_EQ(addr0.address[0], ((uint8_t*)property->val)[0]);
34 EXPECT_EQ(addr0.address[1], ((uint8_t*)property->val)[1]);
35 EXPECT_EQ(addr0.address[2], ((uint8_t*)property->val)[2]);
36 EXPECT_EQ(addr0.address[3], ((uint8_t*)property->val)[3]);
37 EXPECT_EQ(addr0.address[4], ((uint8_t*)property->val)[4]);
38 EXPECT_EQ(addr0.address[5], ((uint8_t*)property->val)[5]);
39 EXPECT_EQ(BT_PROPERTY_BDADDR, property->type);
40 EXPECT_EQ((int)sizeof(bt_bdaddr_t), property
50 bt_property_t *property = property_new_device_class(&dc0); local
67 bt_property_t *property = property_new_device_type(dt0); local
81 bt_property_t *property = property_new_discovery_timeout(timeout0); local
95 bt_property_t *property = property_new_name(name0); local
109 bt_property_t *property = property_new_rssi(rssi0); local
123 bt_property_t *property = property_new_scan_mode(mode0); local
144 bt_property_t *property = property_new_uuids(&uuid0, 1); local
[all...]
/system/bt/service/hal/
H A Dfake_bluetooth_interface.cpp38 int FakeHALSetAdapterProperty(const bt_property_t* /* property */) {
113 bt_property_t property; local
114 property.len = sizeof(hal_name);
115 property.val = &hal_name;
116 property.type = BT_PROPERTY_BDNAME;
118 NotifyAdapterPropertiesChanged(1, &property);
123 bt_property_t property; local
124 property.len = sizeof(bt_bdaddr_t);
125 property.val = (void*)address;
126 property
133 bt_property_t property; local
[all...]
/system/core/logcat/
H A Dlogpersist11 property=persist.logd.logpersistd
13 case `getprop ${property#persist.}.enable` in
80 current_buffer="`getprop ${property#persist.}.buffer`"
81 current_size="`getprop ${property#persist.}.size`"
82 if [ "${service}" = "`getprop ${property#persist.}`" ]; then
84 setprop ${property#persist.} "clear"
107 setprop ${property#persist.} "clear"
110 setprop ${property}.buffer "${buffer}"
113 setprop ${property#persist.}.buffer ""
117 setprop ${property}
[all...]
H A 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
[all...]
/system/connectivity/shill/vpn/
H A Dvpn_driver.cc69 const string property = properties_[i].property; local
74 if (storage->GetStringList(storage_id, property, &value)) {
75 args_.SetStrings(property, value);
77 args_.RemoveStrings(property);
82 storage->GetCryptedString(storage_id, property, &value) :
83 storage->GetString(storage_id, property, &value);
85 args_.SetString(property, value);
87 args_.RemoveString(property);
103 const string property local
[all...]
/system/core/toolbox/
H A Dstart_stop.cpp18 const char* property = start ? "ctl.start" : "ctl.stop"; local
22 property_set(property, argv[1]);
26 property_set(property, services[i]);
30 property_set(property, services[i]);
/system/connectivity/shill/
H A Dstatic_ip_parameters.cc63 const Property& property = kProperties[i]; local
64 const string name(string(kConfigKeyPrefix) + property.name);
65 const string saved_name(string(kSavedConfigKeyPrefix) + property.name);
66 switch (property.type) {
153 const Property& property = kProperties[i]; local
154 const string name(string(kConfigKeyPrefix) + property.name);
155 switch (property.type) {
160 args_.SetInt(property.name, value);
162 args_.RemoveInt(property.name);
170 args_.SetString(property
200 const Property& property = kProperties[i]; local
236 ApplyInt( const string& property, int32_t* value_out) argument
244 ApplyString( const string& property, string* value_out) argument
252 ApplyStrings( const string& property, vector<string>* value_out) argument
[all...]
H A Dmock_dbus_properties_proxy.h36 const std::string& property));
H A Dproperty_accessor.h33 // (respectively) to the value pointed to by |property|.
60 explicit PropertyAccessor(T* property) argument
61 : property_(property), default_value_(*property) {
62 DCHECK(property);
85 explicit ConstPropertyAccessor(const T* property) : property_(property) { argument
86 DCHECK(property);
111 explicit WriteOnlyPropertyAccessor(T* property) argument
112 : property_(property), default_value
[all...]
H A Dstatic_ip_parameters.h42 // Take a property store and add static IP parameters to them.
62 // Return whether configuration parameters contain an address property.
65 // Return whether configuration parameters contain a namerservers property.
93 // These functions try to retrieve the argument |property| out of the
96 void ApplyInt(const std::string& property, int32_t* value_out);
97 void ApplyString(const std::string& property, std::string* value_out);
98 void ApplyStrings(const std::string& property,
H A Ddbus_properties_proxy_interface.h35 // Callback invoked when an object sends a DBus property change signal.
43 // property change signal.
53 const std::string& property) = 0;
H A Deap_credentials.cc222 bool EapCredentials::IsEapAuthenticationProperty(const string property) { argument
224 property == kEapAnonymousIdentityProperty ||
225 property == kEapCertIdProperty ||
226 property == kEapClientCertProperty ||
227 property == kEapIdentityProperty ||
228 property == kEapKeyIdProperty ||
229 property == kEapKeyMgmtProperty ||
230 property == kEapPasswordProperty ||
231 property == kEapPinProperty ||
232 property
[all...]
/system/bt/tools/bdtool/
H A Dadapter.c21 #include "btcore/include/property.h"
32 static void parse_properties(int num_properties, bt_property_t *property);
44 // Returns the specified property.
122 void device_found(int num_properties, bt_property_t *property) { argument
124 parse_properties(num_properties, property);
207 static void parse_properties(int num_properties, bt_property_t *property) { argument
209 switch(property->type) {
212 const bt_bdname_t *name = property_as_name(property);
221 const bt_bdaddr_t *addr = property_as_addr(property);
230 const bt_uuid_t *uuid = property_as_uuids(property,
[all...]
H A Dbdtool.c25 #include "btcore/include/property.h"
120 bt_property_t *property = property_new_scan_mode(BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE); local
122 int rc = bt_interface->set_adapter_property(property);
127 property_free(property);
159 fprintf(stderr, "Unable to get adapter property\n");
162 bt_property_t *property = adapter_get_property(BT_PROPERTY_BDNAME); local
163 const bt_bdname_t *name = property_as_name(property);
174 bt_property_t *property = property_new_name(bd_name); local
177 CALL_AND_WAIT(error = bt_interface->set_adapter_property(property), adapter_properties);
179 fprintf(stderr, "Unable to set adapter property\
197 bt_property_t *property = property_new_scan_mode(BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE); local
[all...]
/system/media/camera/docs/
H A Dmetadata_model.py56 @property
60 @property
221 @property
228 @property
232 @property
616 @property
620 @property
624 @property
650 @property
654 @property
[all...]
/system/bt/service/
H A Dadapter.cpp261 bt_property_t* property = properties + i; variable
262 switch (property->type) {
265 property->val));
271 bt_bdname_t* hal_name = reinterpret_cast<bt_bdname_t*>(property->val);
279 if (property->len != sizeof(bt_local_le_features_t)) {
280 LOG(WARNING) << "Malformed value received for property: "
285 reinterpret_cast<bt_local_le_features_t*>(property->val);
291 VLOG(1) << "Unhandled adapter property: "
292 << BtPropertyText(property->type);
330 // Sends a request to set the given HAL adapter property typ
335 bt_property_t property; local
[all...]
/system/connectivity/shill/shims/
H A Dset_apn_helper.c17 // Shim to set Cellular.APN property for a service. This exists because
57 const char *property; local
67 "Usage: %s <service-dbus-path> <property-name> <apn-args>\n",
98 property = argv[2];
99 dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &property);
/system/bt/btif/include/
H A Dbtif_storage.h41 ** Description BTIF storage API - Fetches the adapter property->type
42 ** from NVRAM and fills property->val.
43 ** Caller should provide memory for property->val and
44 ** set the property->val
50 bt_status_t btif_storage_get_adapter_property(bt_property_t *property);
56 ** Description BTIF storage API - Stores the adapter property
63 bt_status_t btif_storage_set_adapter_property(bt_property_t *property);
69 ** Description BTIF storage API - Fetches the remote device property->type
70 ** from NVRAM and fills property->val.
71 ** Caller should provide memory for property
[all...]
H A Dbtif_api.h121 ** Description Fetches property value from local cache
132 ** Description Updates core stack with property value and stores it in
138 bt_status_t btif_set_adapter_property( const bt_property_t *property);
144 ** Description Fetches the remote device property from the NVRAM
167 ** Description Writes the remote device property to NVRAM.
169 ** remote device property that can be set
175 const bt_property_t *property);
315 ** Description Queries the BTA for the adapter property
/system/connectivity/shill/bin/
H A Dset_apn67 local property="$2"
70 | sed -n "/${property}/s/.*\///p"
126 local property="$2"
129 | sed -n "/\/${property}/{s/.* //p}"
H A Dset_cellular_ppp65 local property="${3:?nternal error}"
68 | sed -n "/\/${property}/{s/.* //p}"
104 local property="$2"
106 echo "Clearing ${property} for service ${service}"
107 dbus "${service}" "${ISERVICE}.ClearProperty" "string:${property}"
/system/connectivity/shill/dbus/
H A Dchromeos_dbus_properties_proxy.cc70 const string& property) {
72 << ", " << property << ")"; local
75 if (!proxy_->Get(interface_name, property, &value, &error)) {
77 << " " << property << ": "
69 Get(const string& interface_name, const string& property) argument
/system/core/logd/
H A Dmain.cpp162 char property[PROPERTY_VALUE_MAX]; local
167 property_get(newkey, property, "");
174 property_get(newkey, def, property);
177 property_get(key, property, def);
179 if (check_flag(property, "true")) {
182 if (check_flag(property, "false")) {
185 if (check_flag(property, "eng")) {
189 if (check_flag(property, "svelte")) {
205 property_get("ro.build.type", property, "");
206 if (!strcmp(property, "use
[all...]

Completed in 7290 milliseconds

123