/system/tpm/trunks/ |
H A D | scoped_key_handle.h | 63 TPM_HANDLE handle_; member in class:trunks::ScopedKeyHandle
|
/system/bt/service/common/bluetooth/ |
H A D | descriptor.h | 28 : handle_(handle), uuid_(uuid), permissions_(permissions){}; 36 uint16_t handle() const { return handle_; } 41 uint16_t handle_; member in class:bluetooth::Descriptor
|
H A D | characteristic.h | 32 : handle_(handle), 45 uint16_t handle() const { return handle_; } 53 uint16_t handle_; member in class:bluetooth::Characteristic
|
H A D | service.h | 32 : handle_(handle), 45 uint16_t handle() const { return handle_; } 57 uint16_t handle_; member in class:bluetooth::Service
|
/system/core/libziparchive/include/ziparchive/ |
H A D | zip_archive_stream_entry.h | 37 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} 41 ZipArchiveHandle handle_; member in class:ZipArchiveStreamEntry
|
/system/bt/service/common/android/bluetooth/ |
H A D | bluetooth_gatt_included_service.h | 38 : handle_(service.handle()), 57 uint16_t handle() const { return handle_; } 62 uint16_t handle_; member in class:android::bluetooth::BluetoothGattIncludedService
|
/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper_ipc.c | 33 static int handle_ = 0; variable 41 handle_ = rc; 47 if (handle_ == 0) { 57 ssize_t rc = write(handle_, msg, msg_size); 66 rc = read(handle_, out, *out_size); 90 if (handle_ != 0) { 91 tipc_close(handle_);
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | connection.h | 35 : dev_(dev), handle_(handle), connected_(true), encrypted_(false) {} 47 return (handle_ == handle) && connected_; 52 return (handle_ != handle) || !connected_; 79 uint16_t handle_; member in class:test_vendor_lib::Connection
|
/system/core/trusty/keymaster/ |
H A D | trusty_keymaster_ipc.cpp | 37 static int handle_ = -1; variable 45 handle_ = rc; 51 if (handle_ < 0) { 66 ssize_t rc = write(handle_, msg, msg_size); 82 rc = readv(handle_, iov, 2); 108 if (handle_ >= 0) { 109 tipc_close(handle_); 111 handle_ = -1;
|
/system/security/keystore/ |
H A D | operation_struct.h | 36 Operation(uint64_t handle_, uint64_t keyid_, KeyPurpose purpose_, const sp<Keymaster>& device_, argument 39 : handle(handle_), keyid(keyid_), purpose(purpose_), device(device_),
|
/system/extras/simpleperf/ |
H A D | utils.h | 98 return handle_; 102 ZipArchiveHandle handle_; member in class:ArchiveHelper
|
/system/core/adb/ |
H A D | transport.h | 93 explicit UsbConnection(usb_handle* handle) : handle_(handle) {} 101 usb_handle* handle_; member in struct:UsbConnection
|
/system/core/fastboot/ |
H A D | usb_osx.cpp | 70 OsxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} 78 std::unique_ptr<usb_handle> handle_; member in class:OsxUsbTransport 483 if (handle_ == nullptr) { 487 if (handle_->interface == nullptr) { 492 if (handle_->bulkIn == 0) { 497 result = (*handle_->interface)->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); 515 if (handle_ == NULL) { 519 if (handle_ [all...] |
H A D | usb_windows.cpp | 71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} 79 std::unique_ptr<usb_handle> handle_; member in class:WindowsUsbTransport 161 if (nullptr != handle_) { 165 ret = AdbWriteEndpointSync(handle_->adb_write_pipe, const_cast<void*>(data), xfer, 172 usb_kick(handle_.get()); 199 if (nullptr != handle_) { 203 ret = AdbReadEndpointSync(handle_->adb_read_pipe, data, xfer, &read, time_out); 211 usb_kick(handle_.get()); 254 if (nullptr != handle_) { 256 usb_cleanup_handle(handle_ [all...] |
H A D | usb_linux.cpp | 96 explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} 105 std::unique_ptr<usb_handle> handle_; member in class:LinuxUsbTransport 394 if (handle_->ep_out == 0 || handle_->desc == -1) { 402 bulk.ep = handle_->ep_out; 407 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); 429 if (handle_->ep_in == 0 || handle_->desc == -1) { 436 bulk.ep = handle_->ep_in; 443 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_ [all...] |
/system/extras/libfec/include/fec/ |
H A D | io.h | 124 io() : handle_(nullptr, fec_close) {} 127 int roots = FEC_DEFAULT_ROOTS) : handle_(nullptr, fec_close) { 132 return !!handle_; 141 handle_.reset(fh); 147 return !fec_close(handle_.release()); 151 return !fec_seek(handle_.get(), offset, whence); 155 return fec_read(handle_.get(), buf, count); 159 return fec_pread(handle_.get(), buf, count, offset); 163 return !fec_get_status(handle_.get(), &status); 167 return !fec_verity_get_metadata(handle_ 189 handle handle_; member in class:fec::io [all...] |
/system/tpm/attestation/server/ |
H A D | pkcs11_key_store.cc | 58 explicit ScopedSession(CK_SLOT_ID slot) : handle_(CK_INVALID_HANDLE) { 66 if (C_OpenSession(slot, flags, nullptr, nullptr, &handle_) != CKR_OK) { 73 if (IsValid() && (C_CloseSession(handle_) != CKR_OK)) { 75 handle_ = CK_INVALID_HANDLE; 79 CK_SESSION_HANDLE handle() const { return handle_; } 81 bool IsValid() const { return (handle_ != CK_INVALID_HANDLE); } 84 CK_SESSION_HANDLE handle_; member in class:attestation::ScopedSession
|