Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_HwParcel.cpp136 void JHwParcel::InitClass(JNIEnv *env) { in InitClass()
147 sp<JHwParcel> JHwParcel::SetNativeContext( in SetNativeContext()
148 JNIEnv *env, jobject thiz, const sp<JHwParcel> &context) { in SetNativeContext()
149 sp<JHwParcel> old = (JHwParcel *)env->GetLongField(thiz, gFields.contextID); in SetNativeContext()
165 sp<JHwParcel> JHwParcel::GetNativeContext(JNIEnv *env, jobject thiz) { in GetNativeContext()
166 return (JHwParcel *)env->GetLongField(thiz, gFields.contextID); in GetNativeContext()
169 JHwParcel::JHwParcel(JNIEnv *env, jobject thiz) in JHwParcel() function in android::JHwParcel
176 JHwParcel::~JHwParcel() { in ~JHwParcel()
184 hardware::Parcel *JHwParcel::getParcel() { in getParcel()
188 EphemeralStorage *JHwParcel::getStorage() { in getStorage()
[all …]
Dandroid_os_HwParcel.h30 struct JHwParcel : public RefBase { struct
33 static sp<JHwParcel> SetNativeContext(
34 JNIEnv *env, jobject thiz, const sp<JHwParcel> &context);
36 static sp<JHwParcel> GetNativeContext(JNIEnv *env, jobject thiz);
40 JHwParcel(JNIEnv *env, jobject thiz);
53 virtual ~JHwParcel();
64 DISALLOW_COPY_AND_ASSIGN(JHwParcel); argument
Dandroid_os_HwBinder.cpp157 sp<JHwParcel> replyContext = nullptr; in onTransact()
159 ScopedLocalRef<jobject> requestObj(env, JHwParcel::NewObject(env)); in onTransact()
160 JHwParcel::GetNativeContext(env, requestObj.get())->setParcel( in onTransact()
165 replyObj.reset(JHwParcel::NewObject(env)); in onTransact()
167 replyContext = JHwParcel::GetNativeContext(env, replyObj.get()); in onTransact()
221 JHwParcel::GetNativeContext(env, requestObj.get())->setParcel( in onTransact()
Dandroid_os_HwRemoteBinder.cpp344 JHwParcel::GetNativeContext(env, requestObj)->getParcel(); in JHwRemoteBinder_native_transact()
347 JHwParcel::GetNativeContext(env, replyObj)->getParcel(); in JHwRemoteBinder_native_transact()