Searched refs:subBlob (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_HwBlob.cpp | 485 sp<JHwBlob> subBlob = JHwBlob::GetNativeContext(env, subBlobObj.get()); in JHwBlob_native_putString() local 486 subBlob->write(0 /* offset */, s, size); in JHwBlob_native_putString() 492 tmp.setToExternal(static_cast<const char *>(subBlob->data()), size - 1); in JHwBlob_native_putString() 496 blob->putBlob(offset + hidl_string::kOffsetOfBuffer, subBlob); in JHwBlob_native_putString() 512 sp<JHwBlob> subBlob = JHwBlob::GetNativeContext(env, subBlobObj.get()); in JHwBlob_native_putNativeHandle() local 513 subBlob->specializeBlobTo(JHwBlob::BlobType::NATIVE_HANDLE); in JHwBlob_native_putNativeHandle() 514 subBlob->write(0 /* offset */, nativeHandle.get(), size); in JHwBlob_native_putNativeHandle() 517 cppHandle.setTo(static_cast<native_handle_t *>(subBlob->data()), false /* shouldOwn */); in JHwBlob_native_putNativeHandle() 521 blob->putBlob(offset + hidl_handle::kOffsetOfNativeHandle, subBlob); in JHwBlob_native_putNativeHandle() 585 sp<JHwBlob> subBlob = JHwBlob::GetNativeContext(env, blobObj); in JHwBlob_native_putBlob() local [all …]
|