/system/bt/service/common/bluetooth/ |
D | descriptor.cc | 21 handle_ = other.handle_; in Descriptor() 29 handle_ = other.handle_; in operator =() 37 return handle_ == other.handle_ && uuid_ == other.uuid_ && in Equals()
|
D | characteristic.cc | 21 handle_ = other.handle_; in Characteristic() 31 handle_ = other.handle_; in operator =() 41 return handle_ == other.handle_ && uuid_ == other.uuid_ && in Equals()
|
D | service.cc | 21 handle_ = other.handle_; in Service() 31 handle_ = other.handle_; in operator =() 40 return handle_ == other.handle_ && primary_ == other.primary_ && in Equals()
|
D | descriptor.h | 28 : handle_(handle), uuid_(uuid), permissions_(permissions){}; in Descriptor() 36 uint16_t handle() const { return handle_; } in handle() 41 uint16_t handle_;
|
D | characteristic.h | 32 : handle_(handle), in Characteristic() 45 uint16_t handle() const { return handle_; } in handle() 53 uint16_t handle_;
|
D | service.h | 32 : handle_(handle), in Service() 45 uint16_t handle() const { return handle_; } in handle() 57 uint16_t handle_;
|
/system/core/fastboot/ |
D | usb_osx.cpp | 72 : handle_(std::move(handle)), ms_timeout_(ms_timeout) {} in OsxUsbTransport() 81 std::unique_ptr<usb_handle> handle_; member in OsxUsbTransport 504 if (handle_ == nullptr) { in Read() 508 if (handle_->interface == nullptr) { in Read() 513 if (handle_->bulkIn == 0) { in Read() 519 result = (*handle_->interface) in Read() 520 ->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); in Read() 522 result = (*handle_->interface) in Read() 523 ->ReadPipeTO(handle_->interface, handle_->bulkIn, data, &numBytes, in Read() 543 if (handle_ == NULL) { in Write() [all …]
|
D | usb_linux.cpp | 97 : handle_(std::move(handle)), ms_timeout_(ms_timeout) {} in LinuxUsbTransport() 107 std::unique_ptr<usb_handle> handle_; member in LinuxUsbTransport 401 if (handle_->ep_out == 0 || handle_->desc == -1) { in Write() 409 bulk.ep = handle_->ep_out; in Write() 414 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Write() 436 if (handle_->ep_in == 0 || handle_->desc == -1) { in Read() 443 bulk.ep = handle_->ep_in; in Read() 450 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read() 451 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Read() 452 DBG("[ usb read %d ] = %d, fname=%s, Retry %d \n", xfer, n, handle_->fname, retry); in Read() [all …]
|
D | usb_windows.cpp | 71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport() 80 std::unique_ptr<usb_handle> handle_; member in WindowsUsbTransport 163 if (nullptr != handle_) { in Write() 167 ret = AdbWriteEndpointSync(handle_->adb_write_pipe, const_cast<void*>(data), xfer, in Write() 174 usb_kick(handle_.get()); in Write() 201 if (nullptr != handle_) { in Read() 205 ret = AdbReadEndpointSync(handle_->adb_read_pipe, data, xfer, &read, time_out); in Read() 213 usb_kick(handle_.get()); in Read() 260 if (nullptr != handle_) { in Close() 262 usb_cleanup_handle(handle_.get()); in Close() [all …]
|
/system/extras/libfec/include/fec/ |
D | io.h | 124 io() : handle_(nullptr, fec_close) {} in io() 127 int roots = FEC_DEFAULT_ROOTS) : handle_(nullptr, fec_close) { in handle_() function 132 return !!handle_; 141 handle_.reset(fh); 147 return !fec_close(handle_.release()); in close() 151 return !fec_seek(handle_.get(), offset, whence); in seek() 155 return fec_read(handle_.get(), buf, count); in read() 159 return fec_pread(handle_.get(), buf, count, offset); in pread() 163 return !fec_get_status(handle_.get(), &status); in get_status() 167 return !fec_verity_get_metadata(handle_.get(), &data); in get_verity_metadata() [all …]
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper_ipc.c | 33 static int handle_ = 0; variable 41 handle_ = rc; in trusty_gatekeeper_connect() 47 if (handle_ == 0) { in trusty_gatekeeper_call() 57 ssize_t rc = write(handle_, msg, msg_size); in trusty_gatekeeper_call() 66 rc = read(handle_, out, *out_size); in trusty_gatekeeper_call() 90 if (handle_ != 0) { in trusty_gatekeeper_disconnect() 91 tipc_close(handle_); in trusty_gatekeeper_disconnect()
|
/system/core/trusty/keymaster/ipc/ |
D | trusty_keymaster_ipc.cpp | 37 static int handle_ = -1; variable 45 handle_ = rc; in trusty_keymaster_connect() 51 if (handle_ < 0) { in trusty_keymaster_call() 66 ssize_t rc = write(handle_, msg, msg_size); in trusty_keymaster_call() 82 rc = readv(handle_, iov, 2); in trusty_keymaster_call() 108 if (handle_ >= 0) { in trusty_keymaster_disconnect() 109 tipc_close(handle_); in trusty_keymaster_disconnect() 111 handle_ = -1; in trusty_keymaster_disconnect()
|
/system/core/fastboot/device/ |
D | usb_client.cpp | 244 : handle_(std::unique_ptr<usb_handle>(create_usb_handle(kFbFfsNumBufs, kFbFfsBufSize))) { in ClientUsbTransport() 245 if (!InitFunctionFs(handle_.get())) { in ClientUsbTransport() 246 handle_.reset(nullptr); in ClientUsbTransport() 251 if (handle_ == nullptr || len > SSIZE_MAX) { in Read() 259 handle_->read(handle_.get(), char_data, bytes_to_read, true /* allow_partial */); in Read() 273 if (handle_ == nullptr || len > SSIZE_MAX) { in Write() 280 auto bytes_written_now = handle_->write(handle_.get(), data, bytes_to_write); in Write() 294 if (handle_ == nullptr) { in Close() 297 CloseFunctionFs(handle_.get()); in Close()
|
/system/core/adb/ |
D | transport_usb.cpp | 150 usb_close(handle_); in ~UsbConnection() 154 int rc = remote_read(packet, handle_); in Read() 161 if (usb_write(handle_, &packet->msg, sizeof(packet->msg)) != sizeof(packet->msg)) { in Write() 166 if (packet->msg.data_length != 0 && usb_write(handle_, packet->payload.data(), size) != size) { in Write() 175 usb_reset(handle_); in Reset() 176 usb_kick(handle_); in Reset() 180 usb_kick(handle_); in Close()
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_gatt_included_service.h | 38 : handle_(service.handle()), in BluetoothGattIncludedService() 57 uint16_t handle() const { return handle_; } in handle() 62 uint16_t handle_;
|
D | bluetooth_gatt_included_service.cc | 35 status = parcel->writeInt32(handle_); in writeToParcel() 51 handle_ = tmp; in readFromParcel()
|
D | bluetooth_gatt_descriptor.cc | 34 status = parcel->writeInt32(handle_); in writeToParcel() 50 handle_ = tmp; in readFromParcel()
|
D | bluetooth_gatt_characteristic.cc | 32 status_t status = parcel->writeInt32(handle_); in writeToParcel() 57 handle_ = tmp; in readFromParcel()
|
D | bluetooth_gatt_service.cc | 32 status_t status = parcel->writeInt32(handle_); in writeToParcel() 59 handle_ = tmp; in readFromParcel()
|
/system/core/libziparchive/include/ziparchive/ |
D | zip_archive_stream_entry.h | 38 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchiveStreamEntry() 42 ZipArchiveHandle handle_; variable
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | sco_packet_builder.cc | 29 : handle_(handle), packet_status_flags_(packet_status_flags), payload_(std::move(payload)) {} in ScoPacketBuilder() 36 …insert(static_cast<uint16_t>((handle_ & 0xfff) | (static_cast<uint16_t>(packet_status_flags_) << 1… in Serialize()
|
D | acl_packet_builder.cc | 30 …: handle_(handle), packet_boundary_flags_(packet_boundary_flags), broadcast_flags_(broadcast_flags… in AclPacketBuilder() 46 …insert(static_cast<uint16_t>((handle_ & 0xfff) | (static_cast<uint16_t>(packet_boundary_flags_) <<… in Serialize()
|
/system/core/base/include/android-base/ |
D | mapped_file.h | 67 : base_(base), size_(size), offset_(offset), handle_(handle) {} in MappedFile() 68 HANDLE handle_; variable
|
/system/security/keystore/ |
D | operation_struct.h | 39 Operation(uint64_t handle_, uint64_t keyid_, KeyPurpose purpose_, const sp<Keymaster>& device_, in Operation() 42 : handle(handle_), keyid(keyid_), purpose(purpose_), device(device_), in Operation()
|
/system/iorap/src/perfetto/ |
D | rx_producer.cc | 116 PerfettoConsumer::Handle handle_; member 125 handle_{std::move(handle)} { 134 return handle_; in GetHandle() 138 LOG(VERBOSE) << "PerfettoConsumerHandle::Destroy(" << handle_ << ")"; in ~PerfettoConsumerHandle() 139 consumer_->Destroy(handle_); in ~PerfettoConsumerHandle() 143 return handle_ == other.handle_ && consumer_ == other.consumer_; in operator ==() 216 std::shared_ptr<PerfettoConsumerHandle> handle_; // non-null after bound_ == true. member in iorap::perfetto::StateChangedSubject 330 std::shared_ptr<PerfettoConsumerHandle> handle_ptr = handle_; in OnStateChanged() 388 handle_ = handle; in BindHandle() 438 auto handle_ptr = handle_; in EmitNext()
|