HomeSort by relevance Sort by last modified time
    Searched refs:device_address (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /system/bt/service/common/bluetooth/
scan_result.cpp 26 ScanResult::ScanResult(const std::string& device_address,
29 : device_address_(device_address),
32 CHECK(util::IsAddressValid(device_address)) << "Invalid BD_ADDR given: "
33 << device_address;
scan_result.h 30 ScanResult(const std::string& device_address,
37 const std::string& device_address() const { return device_address_; } function in class:bluetooth::ScanResult
scan_filter.h 42 const std::string& device_address() const { return device_address_; } function in class:bluetooth::ScanFilter
45 // |device_address| is in an illegal format.
46 bool SetDeviceAddress(const std::string& device_address);
scan_filter.cpp 51 bool ScanFilter::SetDeviceAddress(const std::string& device_address) {
52 if (!util::IsAddressValid(device_address))
55 device_address_ = device_address;
gatt_identifier.cpp 31 const std::string& device_address,
35 (!device_address.empty() && !util::IsAddressValid(device_address)))
40 gatt_id->device_address_ = device_address;
99 const std::string& device_address,
107 : device_address_(device_address),
gatt_identifier.h 38 const std::string& device_address,
52 const std::string& device_address,
84 const std::string& device_address() const { return device_address_; } function in class:bluetooth::final
  /system/bt/service/common/bluetooth/binder/
IBluetoothGattServerCallback.h 63 const std::string& device_address,
68 const std::string& device_address,
73 const std::string& device_address,
79 const std::string& device_address,
85 const std::string& device_address,
88 virtual void OnNotificationSent(const std::string& device_address,
126 const std::string& device_address,
130 const std::string& device_address,
134 const std::string& device_address,
139 const std::string& device_address,
    [all...]
IBluetoothGattServerCallback.cpp 63 std::string device_address = data.readCString(); local
69 OnCharacteristicReadRequest(device_address, request_id, offset, is_long,
74 std::string device_address = data.readCString(); local
80 OnDescriptorReadRequest(device_address, request_id, offset, is_long,
85 std::string device_address = data.readCString(); local
98 OnCharacteristicWriteRequest(device_address, request_id, offset, is_prep,
103 std::string device_address = data.readCString(); local
116 OnDescriptorWriteRequest(device_address, request_id, offset, is_prep,
121 std::string device_address = data.readCString(); local
125 OnExecuteWriteRequest(device_address, request_id, is_exec)
129 std::string device_address = data.readCString(); local
    [all...]
parcel_helpers.cpp 147 parcel->writeCString(gatt_id.device_address().c_str());
161 std::string device_address = parcel.readCString(); local
174 device_address, is_primary,
187 bool has_address = !filter.device_address().empty();
190 parcel->writeCString(filter.device_address().c_str());
209 std::string device_address; local
211 device_address = parcel.readCString();
226 if (!filter->SetDeviceAddress(device_address))
278 if (util::IsAddressValid(scan_result.device_address())) {
280 parcel->writeCString(scan_result.device_address().c_str())
291 std::string device_address; local
    [all...]
IBluetoothGattServer.h 81 const std::string& device_address,
88 const std::string& device_address,
142 const std::string& device_address,
148 const std::string& device_address,
  /system/bt/service/doc/
IBluetoothGattServerCallback.txt 41 * address |device_address| for the characteristic with identifier
53 void onCharacteristicReadRequest(in String device_address, in int request_id,
59 * address |device_address| for the descriptor with identifier
71 void onDescriptorReadRequest(in String device_address, in int request_id,
77 * address |device_address| for the characteristic with identifier
90 void onCharacteristicWriteRequest(in String device_address, in int request_id,
97 * address |device_address| for the descriptor with identifier
110 void onDescriptorWriteRequest(in String device_address, in int request_id,
123 void onExecuteWriteRequest(in String device_address, in int request_id,
133 void onNotificationSent(in String device_address, in int status)
    [all...]
IBluetoothGattClient.txt 45 * database of remote device with address |device_address|. Returns false in
49 boolean refreshDevice(in int client_id, in String device_address);
53 * device with address |device_address| asynchronously via the corresponding
59 boolean discoverServices(in int client_id, in String device_address);
157 * |device_address|. Once a reliable write transaction has been initiated, all
167 boolean beginReliableWrite(in int client_id, in String device_address);
171 * with address |device_address|. If |execute| is true, then a request will be
178 boolean endReliableWrite(in int client_id, in String device_address,
IBluetoothGattClientCallback.txt 64 * address |device_address|. |status| will contain BLE_STATUS_SUCCESS (0) if
67 void onSearchComplete(in String device_address, in int status);
91 * |device_address| refers to the remote device that the endReliableWrite
95 void onExecuteWrite(in String device_address, in int status);
IBluetoothGattServer.txt 92 * |device_address| of the device that the request originated from.
98 boolean sendResponse(in int server_if, in String device_address,
111 boolean sendNotification(in int server_if, in String device_address,
  /system/bt/service/ipc/binder/
bluetooth_gatt_server_binder_server.h 57 bool SendResponse(int server_id, const std::string& device_address,
62 const std::string& device_address,
70 const std::string& device_address,
75 const std::string& device_address,
80 const std::string& device_address,
86 const std::string& device_address,
92 const std::string& device_address,
bluetooth_gatt_server_binder_server.cpp 172 int server_id, const std::string& device_address,
185 device_address, request_id, static_cast<bluetooth::GATTError>(status),
191 const std::string& device_address,
222 gatt_cb->OnNotificationSent(device_address, error);
225 if (!gatt_server->SendNotification(device_address, characteristic_id,
236 const std::string& device_address,
249 device_address, request_id, offset, is_long, characteristic_id);
254 const std::string& device_address,
267 device_address, request_id, offset, is_long, descriptor_id);
303 const std::string& device_address,
    [all...]
  /device/asus/fugu/libaudio/
ATVAudioPolicyManager.cpp 75 const char *device_address,
80 device_address ? device_address : "(null)");
85 if (device == AUDIO_DEVICE_IN_REMOTE_SUBMIX && device_address) {
86 AudioParameter parameters = AudioParameter(String8(device_address));
114 device, state, device_address, device_name);
ATVAudioPolicyManager.h 38 const char *device_address,
  /system/bt/service/example/heart_rate/
heart_rate_server.h 60 const std::string& device_address,
64 const std::string& device_address,
68 const std::string& device_address,
73 const std::string& device_address,
78 const std::string& device_address,
80 void OnNotificationSent(const std::string& device_address,
heart_rate_server.cpp 340 const std::string& device_address,
356 gatt_->SendResponse(server_if_, device_address, request_id, error,
361 const std::string& device_address,
370 gatt_->SendResponse(server_if_, device_address, request_id,
377 const uint8_t value_bytes[] = { device_ccc_map_[device_address], 0x00 };
386 gatt_->SendResponse(server_if_, device_address, request_id, error,
391 const std::string& device_address,
403 gatt_->SendResponse(server_if_, device_address, request_id,
415 gatt_->SendResponse(server_if_, device_address, request_id,
427 gatt_->SendResponse(server_if_, device_address, request_id
    [all...]
  /system/bt/service/
adapter.h 57 // |adapter| and a remote device with address |device_address|. If the ACL
61 Adapter* adapter, const std::string& device_address, bool connected);
108 // Returns true if the remote device with address |device_address| is
111 virtual bool IsDeviceConnected(const std::string& device_address) = 0;
gatt_server.cpp 299 const std::string& device_address, int request_id,
303 << " device_address: " << device_address
310 if (!util::BdAddrFromString(device_address, &addr)) {
311 LOG(ERROR) << "Invalid device address given: " << device_address;
320 // Find the correct connection ID for |device_address| and |request_id|.
321 auto iter = conn_addr_map_.find(device_address);
323 LOG(ERROR) << "No known connections for device address: " << device_address;
338 << " not found for device with BD_ADDR: " << device_address; local
370 const std::string& device_address,
461 << " BD_ADDR: " << device_address; local
491 << " device address: " << device_address; local
    [all...]
gatt_server.h 50 // |device_address|. |request_id| can be used to respond to this request by
54 const std::string& device_address,
59 // ID |descriptor_id| from a remote device with address |device_address|.
64 const std::string& device_address,
70 // |device_address|. |request_id| can be used to respond to this request by
79 const std::string& device_address,
86 // |device_address|. |request_id| can be used to respond to this request by
95 const std::string& device_address,
106 const std::string& device_address,
169 // |device_address| should match those that were received through one of th
    [all...]
  /hardware/bsp/intel/peripheral/libmraa/examples/
mraa-i2c.c 107 i2c_get(int bus, uint8_t device_address, uint8_t register_address, uint8_t* data)
114 status = mraa_i2c_address(i2c, device_address);
132 i2c_set(int bus, uint8_t device_address, uint8_t register_address, uint8_t data)
139 status = mraa_i2c_address(i2c, device_address);
200 uint8_t device_address = strtol(argv[3], NULL, 0); local
202 // fprintf(stdout, "Device %02X, Register = %02X\n", device_address, register_address);
204 if (i2c_get(bus, device_address, register_address, &data) == MRAA_SUCCESS) {
218 uint8_t device_address = strtol(argv[3], NULL, 0); local
221 fprintf(stdout, "Device %02X, Register = %02X, Value = %02X\n", device_address,
223 if (i2c_set(bus, device_address, register_address, value) != MRAA_SUCCESS)
    [all...]
  /external/libpcap/pcap/
usb.h 82 u_int8_t device_address; member in struct:_usb_header
107 u_int8_t device_address; member in struct:_usb_header_mmapped

Completed in 203 milliseconds

1 2 3 4