Home
last modified time | relevance | path

Searched refs:subBlob (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_HwBlob.cpp467 sp<JHwBlob> subBlob = JHwBlob::GetNativeContext(env, subBlobObj.get()); in JHwBlob_native_putString() local
468 subBlob->write(0 /* offset */, s, size); in JHwBlob_native_putString()
474 tmp.setToExternal(static_cast<const char *>(subBlob->data()), size - 1); in JHwBlob_native_putString()
478 blob->putBlob(offset + hidl_string::kOffsetOfBuffer, subBlob); in JHwBlob_native_putString()
494 sp<JHwBlob> subBlob = JHwBlob::GetNativeContext(env, subBlobObj.get()); in JHwBlob_native_putNativeHandle() local
495 subBlob->specializeBlobTo(JHwBlob::BlobType::NATIVE_HANDLE); in JHwBlob_native_putNativeHandle()
496 subBlob->write(0 /* offset */, nativeHandle.get(), size); in JHwBlob_native_putNativeHandle()
499 cppHandle.setTo(static_cast<native_handle_t *>(subBlob->data()), false /* shouldOwn */); in JHwBlob_native_putNativeHandle()
503 blob->putBlob(offset + hidl_handle::kOffsetOfNativeHandle, subBlob); in JHwBlob_native_putNativeHandle()
567 sp<JHwBlob> subBlob = JHwBlob::GetNativeContext(env, blobObj); in JHwBlob_native_putBlob() local
[all …]