/system/tpm/trunks/ |
D | scoped_key_handle.cc | 32 : factory_(factory), handle_(kInvalidHandle) {} in ScopedKeyHandle() 36 : factory_(factory), handle_(handle) {} in ScopedKeyHandle() 39 if (handle_ != kInvalidHandle) { in ~ScopedKeyHandle() 40 FlushHandleContext(handle_); in ~ScopedKeyHandle() 45 TPM_HANDLE tmp_handle = handle_; in release() 46 handle_ = kInvalidHandle; in release() 51 TPM_HANDLE tmp_handle = handle_; in reset() 52 handle_ = new_handle; in reset() 63 return &handle_; in ptr() 67 return handle_; in get()
|
D | scoped_key_handle.h | 63 TPM_HANDLE handle_; variable
|
/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/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/trusty/keymaster/ |
D | trusty_keymaster_ipc.c | 34 static int handle_ = 0; variable 42 handle_ = rc; in trusty_keymaster_connect() 48 if (handle_ == 0) { in trusty_keymaster_call() 58 ssize_t rc = write(handle_, msg, msg_size); in trusty_keymaster_call() 67 rc = read(handle_, out, *out_size); in trusty_keymaster_call() 91 if (handle_ != 0) { in trusty_keymaster_disconnect() 92 tipc_close(handle_); in trusty_keymaster_disconnect()
|
/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/fastboot/ |
D | usb_osx.cpp | 70 OsxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in OsxUsbTransport() 78 std::unique_ptr<usb_handle> handle_; member in OsxUsbTransport 488 if (handle_ == nullptr) { in Read() 492 if (handle_->interface == nullptr) { in Read() 497 if (handle_->bulkIn == 0) { in Read() 502 result = (*handle_->interface)->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); in Read() 520 if (handle_ == NULL) { in Write() 524 if (handle_->interface == NULL) { in Write() 529 if (handle_->bulkOut == 0) { in Write() 535 result = (*handle_->interface)->WritePipe( in Write() [all …]
|
D | usb_linux.cpp | 96 explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in LinuxUsbTransport() 105 std::unique_ptr<usb_handle> handle_; member in LinuxUsbTransport 394 if (handle_->ep_out == 0 || handle_->desc == -1) { in Write() 402 bulk.ep = handle_->ep_out; in Write() 407 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Write() 429 if (handle_->ep_in == 0 || handle_->desc == -1) { in Read() 436 bulk.ep = handle_->ep_in; in Read() 443 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_->desc, handle_->fname); in Read() 444 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); in Read() 445 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() 79 std::unique_ptr<usb_handle> handle_; member in WindowsUsbTransport 161 if (nullptr != handle_) { in Write() 165 ret = AdbWriteEndpointSync(handle_->adb_write_pipe, const_cast<void*>(data), xfer, in Write() 172 usb_kick(handle_.get()); in Write() 199 if (nullptr != handle_) { in Read() 203 ret = AdbReadEndpointSync(handle_->adb_read_pipe, data, xfer, &read, time_out); in Read() 211 usb_kick(handle_.get()); in Read() 254 if (nullptr != handle_) { in Close() 256 usb_cleanup_handle(handle_.get()); in Close() [all …]
|
/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/include/ziparchive/ |
D | zip_archive_stream_entry.h | 37 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} in ZipArchiveStreamEntry() 41 ZipArchiveHandle handle_; variable
|
/system/core/libziparchive/ |
D | zip_archive_stream_entry.cc | 41 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Init() 90 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Read() 211 ZipArchive* archive = reinterpret_cast<ZipArchive*>(handle_); in Read()
|
/system/tpm/attestation/server/ |
D | pkcs11_key_store.cc | 58 explicit ScopedSession(CK_SLOT_ID slot) : handle_(CK_INVALID_HANDLE) { in ScopedSession() 66 if (C_OpenSession(slot, flags, nullptr, nullptr, &handle_) != CKR_OK) { in ScopedSession() 73 if (IsValid() && (C_CloseSession(handle_) != CKR_OK)) { in ~ScopedSession() 75 handle_ = CK_INVALID_HANDLE; in ~ScopedSession() 79 CK_SESSION_HANDLE handle() const { return handle_; } in handle() 81 bool IsValid() const { return (handle_ != CK_INVALID_HANDLE); } in IsValid() 84 CK_SESSION_HANDLE handle_; member in attestation::ScopedSession
|
/system/extras/simpleperf/ |
D | utils.h | 98 return handle_; in archive_handle() 102 ZipArchiveHandle handle_;
|
D | utils.cpp | 81 int rc = OpenArchiveFd(fd, "", &handle_, false); in ArchiveHelper() 91 CloseArchive(handle_); in ~ArchiveHelper()
|
/system/security/keystore/ |
D | operation.cpp | 149 OperationMap::Operation::Operation(uint64_t handle_, uint64_t keyid_, KeyPurpose purpose_, in Operation() argument 152 : handle(handle_), keyid(keyid_), purpose(purpose_), device(device_), in Operation()
|