/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 | 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 | 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 | 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 505 if (handle_ == nullptr) { in Read() 509 if (handle_->interface == nullptr) { in Read() 514 if (handle_->bulkIn == 0) { in Read() 520 result = (*handle_->interface) in Read() 521 ->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); in Read() 523 result = (*handle_->interface) in Read() 524 ->ReadPipeTO(handle_->interface, handle_->bulkIn, data, &numBytes, in Read() 544 if (handle_ == NULL) { in Write() [all …]
|
D | usb_linux.cpp | 99 : handle_(std::move(handle)), ms_timeout_(ms_timeout) {} in LinuxUsbTransport() 109 std::unique_ptr<usb_handle> handle_; member in LinuxUsbTransport 410 if (handle_->ep_out == 0 || handle_->desc == -1) { in Write() 418 bulk.ep = handle_->ep_out; in Write() 423 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Write() 445 if (handle_->ep_in == 0 || handle_->desc == -1) { in Read() 452 bulk.ep = handle_->ep_in; in Read() 459 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read() 460 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Read() 461 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() 202 if (nullptr != handle_) { in Read() 206 ret = AdbReadEndpointSync(handle_->adb_read_pipe, data, xfer, &read, time_out); in Read() 212 usb_kick(handle_.get()); in Read() 263 if (nullptr != handle_) { in Close() 265 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/teeui/libteeui/include/teeui/ |
D | font_rendering.h | 38 Handle() : handle_(nullptr) {} in Handle() 39 explicit Handle(T handle) : handle_(handle) {} in Handle() 44 handle_ = other.handle_; in Handle() 45 other.handle_ = nullptr; in Handle() 50 auto dummy = handle_; 51 handle_ = rhs.handle_; 52 rhs.handle_ = dummy; 58 if (handle_) Deleter()(handle_); in ~Handle() 61 operator bool() const { return handle_ != nullptr; } 62 T operator*() const { return handle_; } [all …]
|
/system/bt/gd/hci/acl_manager/ |
D | classic_acl_connection.cc | 324 DisconnectBuilder::Create(handle_, reason), in Disconnect() 331 ChangeConnectionPacketTypeBuilder::Create(handle_, packet_type), in ChangeConnectionPacketType() 338 AuthenticationRequestedBuilder::Create(handle_), in AuthenticationRequested() 345 SetConnectionEncryptionBuilder::Create(handle_, enable), in SetConnectionEncryption() 352 ChangeConnectionLinkKeyBuilder::Create(handle_), in ChangeConnectionLinkKey() 359 ReadClockOffsetBuilder::Create(handle_), in ReadClockOffset() 366 HoldModeBuilder::Create(handle_, max_interval, min_interval), in HoldMode() 373 SniffModeBuilder::Create(handle_, max_interval, min_interval, attempt, timeout), in SniffMode() 380 ExitSniffModeBuilder::Create(handle_), in ExitSniffMode() 388 …QosSetupBuilder::Create(handle_, service_type, token_rate, peak_bandwidth, latency, delay_variatio… in QosSetup() [all …]
|
D | acl_connection.h | 30 AclConnection() : queue_up_end_(nullptr), handle_(0){}; in AclConnection() 34 return handle_; in GetHandle() 43 …AclConnection(QueueUpEnd* queue_up_end, uint16_t handle) : queue_up_end_(queue_up_end), handle_(ha… in AclConnection() 45 uint16_t handle_; variable
|
/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/libbase/ |
D | mapped_file.cpp | 94 handle_(std::exchange(other.handle_, nullptr)) in MappedFile() 105 handle_ = std::exchange(other.handle_, nullptr); in operator =() 117 if (handle_ != nullptr) CloseHandle(handle_); in Close() 118 handle_ = nullptr; in Close()
|
/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/trusty/confirmationui/ |
D | TrustyApp.h | 75 int handle_; 91 if (handle_ == kInvalidHandle) { in issueCmd() 105 auto rc = TrustyRpc(handle_, &buffer[0], const_cast<const uint8_t*>(out.pos()), &buffer[0], in issueCmd() 123 if (handle_ == kInvalidHandle) { in issueCmd() 137 auto rc = TrustyRpc(handle_, &buffer[0], const_cast<const uint8_t*>(out.pos()), &buffer[0], in issueCmd() 151 operator bool() const { return handle_ != kInvalidHandle; }
|
D | TrustyApp.cpp | 140 : handle_(kInvalidHandle) { in TrustyApp() 141 handle_ = tipc_connect(path.c_str(), appname.c_str()); in TrustyApp() 142 if (handle_ == kInvalidHandle) { in TrustyApp() 149 if (handle_ != kInvalidHandle) { in ~TrustyApp() 150 tipc_close(handle_); in ~TrustyApp()
|
/system/core/adb/client/ |
D | transport_usb.cpp | 154 usb_close(handle_); in ~UsbConnection() 158 int rc = remote_read(packet, handle_); in Read() 165 if (usb_write(handle_, &packet->msg, sizeof(packet->msg)) != sizeof(packet->msg)) { in Write() 170 if (packet->msg.data_length != 0 && usb_write(handle_, packet->payload.data(), size) != size) { in Write() 185 usb_reset(handle_); in Reset() 186 usb_kick(handle_); in Reset() 190 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()
|
/system/bt/gd/hci/ |
D | acl_manager_test.cc | 445 handle_ = 0x123; in SetUp() 456 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISA… in SetUp() 479 uint16_t handle_; member in bluetooth::hci::acl_manager::__anon0d2b85f20111::AclManagerWithConnectionTest 596 handle_, in SetUp() 629 uint16_t handle_ = 0x123; member in bluetooth::hci::acl_manager::__anon0d2b85f20111::AclManagerWithLeConnectionTest 717 ASSERT_EQ(connection_->GetHandle(), handle_); in TEST_F() 720 test_hci_layer_->IncomingAclData(handle_); in TEST_F() 731 SendAclData(handle_, connection_->GetAclQueueEnd()); in TEST_F() 736 SendAclData(handle_, connection_->GetAclQueueEnd()); in TEST_F() 744 ASSERT_EQ(connection_->GetHandle(), handle_); in TEST_F() [all …]
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive_stream_entry.h | 38 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchiveStreamEntry() 42 ZipArchiveHandle handle_; variable
|