Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_HwBlob.cpp51 void JHwBlob::InitClass(JNIEnv *env) { in InitClass()
62 sp<JHwBlob> JHwBlob::SetNativeContext( in SetNativeContext()
63 JNIEnv *env, jobject thiz, const sp<JHwBlob> &context) { in SetNativeContext()
64 sp<JHwBlob> old = (JHwBlob *)env->GetLongField(thiz, gFields.contextID); in SetNativeContext()
80 sp<JHwBlob> JHwBlob::GetNativeContext(JNIEnv *env, jobject thiz) { in GetNativeContext()
81 return (JHwBlob *)env->GetLongField(thiz, gFields.contextID); in GetNativeContext()
84 JHwBlob::JHwBlob(JNIEnv *env, jobject thiz, size_t size) in JHwBlob() function in android::JHwBlob
95 JHwBlob::~JHwBlob() { in ~JHwBlob()
102 void JHwBlob::setTo(const void *ptr, size_t handle) { in setTo()
112 status_t JHwBlob::getHandle(size_t *handle) const { in getHandle()
[all …]
Dandroid_os_HwBlob.h29 struct JHwBlob : public RefBase { struct
37 static sp<JHwBlob> SetNativeContext( argument
38 JNIEnv *env, jobject thiz, const sp<JHwBlob> &context);
40 static sp<JHwBlob> GetNativeContext(JNIEnv *env, jobject thiz);
45 JHwBlob(JNIEnv *env, jobject thiz, size_t size);
65 status_t putBlob(size_t offset, const sp<JHwBlob> &blob);
75 virtual ~JHwBlob();
80 sp<JHwBlob> mBlob; argument
94 DISALLOW_COPY_AND_ASSIGN(JHwBlob); argument
Dandroid_os_HwParcel.cpp1021 return JHwBlob::NewObject(env, ptr, handle); in JHwParcel_native_readBuffer()
1050 return JHwBlob::NewObject(env, ptr, childHandle); in JHwParcel_native_readEmbeddedBuffer()
1063 sp<JHwBlob> blob = JHwBlob::GetNativeContext(env, blobObj); in JHwParcel_native_writeBuffer()