/system/core/toolbox/ |
H A D | start_stop.cpp | 18 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/shims/ |
H A D | set_apn_helper.c | 17 // 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/btcore/test/ |
H A D | property_test.cpp | 24 #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/connectivity/shill/dbus/ |
H A D | chromeos_dbus_properties_proxy.cc | 70 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/connectivity/shill/ |
H A D | property_accessor.h | 33 // (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 D | static_ip_parameters.cc | 63 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 D | eap_credentials.cc | 222 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...] |
H A D | property_store_unittest.cc | 147 TypeParam property; local 148 PropertyStoreTest::RegisterProperty(&store, "some property", &property); 149 EXPECT_TRUE(store.Contains("some property")); 156 TypeParam property{}; // value-initialize primitives 157 PropertyStoreTest::RegisterProperty(&store, "some property", &property); 162 store, "some property", &read_value, &error)); 163 EXPECT_EQ(property, read_value); 170 TypeParam property; local [all...] |
/system/connectivity/shill/vpn/ |
H A D | vpn_driver.h | 75 const char* property; member in struct:shill::VPNDriver::Property
|
H A D | vpn_driver.cc | 69 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...] |
H A D | l2tp_ipsec_driver.cc | 371 const string& property, const string& option, vector<string>* options) { 372 string value = args()->LookupString(property, ""); 381 bool L2TPIPSecDriver::AppendFlag(const string& property, argument 385 string value = args()->LookupString(property, ""); 370 AppendValueOption( const string& property, const string& option, vector<string>* options) argument
|
/system/core/logd/ |
H A D | LogWhiteBlackList.cpp | 94 char property[PROPERTY_VALUE_MAX]; local 95 property_get("ro.logd.filter", property, _default); 96 filter = property; 97 property_get("persist.logd.filter", property, filter.c_str()); 99 if (strcmp(property, _default)) { 100 filter = property; 106 // See README.property for description of filter format
|
H A D | main.cpp | 162 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...] |
/system/bt/service/hal/ |
H A D | fake_bluetooth_interface.cpp | 38 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/bt/tools/bdtool/ |
H A D | bdtool.c | 25 #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...] |
H A D | adapter.c | 21 #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...] |
/system/tpm/trunks/ |
H A D | tpm_state_impl.cc | 220 TPM_RC TpmStateImpl::GetTpmProperty(uint32_t property, argument 226 property, 227 1, // Only one property. 237 capability_data.data.tpm_properties.tpm_property[0].property != 238 property) {
|
H A D | tpm_state_test.cc | 126 TPMS_CAPABILITY_DATA GetValidCapabilityData(TPM_PT property, UINT32 value) { argument 131 data.data.tpm_properties.tpm_property[0].property = property; 349 permanent_data_.data.tpm_properties.tpm_property[0].property = 0xFFFFF; 355 startup_clear_data_.data.tpm_properties.tpm_property[0].property = 0xFFFFF; 361 lockout_counter_.data.tpm_properties.tpm_property[0].property = 0xFFFFF; 367 lockout_threshold_.data.tpm_properties.tpm_property[0].property = 0xFFFFF; 373 lockout_interval_.data.tpm_properties.tpm_property[0].property = 0xFFFFF; 379 lockout_recovery_.data.tpm_properties.tpm_property[0].property = 0xFFFFF;
|
/system/bt/bta/gatt/ |
H A D | bta_gatts_api.c | 195 ** property : Characteristic Properties 201 tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property) 209 p_buf->property = property; 200 BTA_GATTS_AddCharacteristic(UINT16 service_id, tBT_UUID *p_char_uuid, tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property) argument
|
H A D | bta_gatts_int.h | 98 tBTA_GATT_CHAR_PROP property; member in struct:__anon182
|
/system/bt/btcore/src/ |
H A D | property.c | 23 #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/service/ |
H A D | adapter.cpp | 261 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/bt/btif/src/ |
H A D | bluetooth.c | 190 static int set_adapter_property(const bt_property_t *property) argument 196 return btif_set_adapter_property(property); 217 int set_remote_device_property(bt_bdaddr_t *remote_addr, const bt_property_t *property) argument 223 return btif_set_remote_device_property(remote_addr, property); 514 /* fixme -- add property to disable bt interface ? */
|
/system/bt/stack/gatt/ |
H A D | gatt_db.c | 253 UINT8_TO_STREAM(p, p_attr16->p_value->char_decl.property); 483 ** property: property of the characteristic. 490 tGATT_CHAR_PROP property, 496 GATT_TRACE_DEBUG("gatts_add_characteristic perm=0x%0x property=0x%0x", perm, property); 514 p_char_decl->p_value->char_decl.property = property; 489 gatts_add_characteristic(tGATT_SVC_DB *p_db, tGATT_PERM perm, tGATT_CHAR_PROP property, tBT_UUID * p_char_uuid) argument
|
H A D | gatt_api.c | 309 ** property : Characteristic Properties 315 tGATT_PERM perm,tGATT_CHAR_PROP property) 325 if ( ((property & GATT_CHAR_PROP_BIT_AUTH) && !(perm & GATT_WRITE_SIGNED_PERM)) || 326 ((perm & GATT_WRITE_SIGNED_PERM) && !(property & GATT_CHAR_PROP_BIT_AUTH)) ) 328 GATT_TRACE_DEBUG("Invalid configuration property=0x%x perm=0x%x ", property, perm); 334 property, 314 GATTS_AddCharacteristic(UINT16 service_handle, tBT_UUID *p_char_uuid, tGATT_PERM perm,tGATT_CHAR_PROP property) argument
|