/system/tpm/trunks/ |
H A D | scoped_key_handle.h | 63 TPM_HANDLE handle_; member in class:trunks::ScopedKeyHandle
|
/system/core/include/ziparchive/ |
H A D | zip_archive_stream_entry.h | 37 ZipArchiveStreamEntry(ZipArchiveHandle handle) : handle_(handle) {} 41 ZipArchiveHandle handle_; member in class:ZipArchiveStreamEntry
|
/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper_ipc.c | 30 static int handle_ = 0; variable 38 handle_ = rc; 44 if (handle_ == 0) { 54 ssize_t rc = write(handle_, msg, msg_size); 63 rc = read(handle_, out, *out_size); 87 if (handle_ != 0) { 88 tipc_close(handle_);
|
/system/extras/simpleperf/ |
H A D | utils.h | 95 return handle_; 99 ZipArchiveHandle handle_; member in class:ArchiveHelper
|
/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 507 if (handle_ == nullptr) { 511 if (handle_->interface == nullptr) { 516 if (handle_->bulkIn == 0) { 521 result = (*handle_->interface)->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); 539 if (handle_ == NULL) { 543 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 | 92 LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} 101 std::unique_ptr<usb_handle> handle_; member in class:LinuxUsbTransport 392 if (handle_->ep_out == 0 || handle_->desc == -1) { 400 bulk.ep = handle_->ep_out; 405 n = ioctl(handle_->desc, USBDEVFS_BULK, &bulk); 427 if (handle_->ep_in == 0 || handle_->desc == -1) { 434 bulk.ep = handle_->ep_in; 441 DBG("[ usb read %d fd = %d], fname=%s\n", xfer, handle_ [all...] |
/system/extras/libfec/include/fec/ |
H A D | io.h | 123 io() : handle_(nullptr, fec_close) {} 126 int roots = FEC_DEFAULT_ROOTS) : handle_(nullptr, fec_close) { 131 return !!handle_; 140 handle_.reset(fh); 146 return !fec_close(handle_.release()); 150 return !fec_seek(handle_.get(), offset, whence); 154 return fec_read(handle_.get(), buf, count); 158 return fec_pread(handle_.get(), buf, count, offset); 162 return !fec_get_status(handle_.get(), &status); 166 return !fec_verity_get_metadata(handle_ 188 handle handle_; member in class:fec::io [all...] |
/system/security/keystore/ |
H A D | operation.cpp | 147 OperationMap::Operation::Operation(keymaster_operation_handle_t handle_, uint64_t keyid_, argument 151 : handle(handle_), keyid(keyid_), purpose(purpose_), device(device_),
|
/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; 80 return handle_; 84 return (handle_ != CK_INVALID_HANDLE); 88 CK_SESSION_HANDLE handle_; member in class:attestation::ScopedSession
|
/system/core/libbacktrace/ |
H A D | BacktraceOffline.cpp | 668 ScopedZiparchiveHandle(ZipArchiveHandle handle) : handle_(handle) { 672 CloseArchive(handle_); 676 ZipArchiveHandle handle_; member in class:ScopedZiparchiveHandle
|