Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_HwParcel.cpp144 void JHwParcel::InitClass(JNIEnv *env) { in InitClass()
155 sp<JHwParcel> JHwParcel::SetNativeContext( in SetNativeContext()
156 JNIEnv *env, jobject thiz, const sp<JHwParcel> &context) { in SetNativeContext()
157 sp<JHwParcel> old = (JHwParcel *)env->GetLongField(thiz, gFields.contextID); in SetNativeContext()
173 sp<JHwParcel> JHwParcel::GetNativeContext(JNIEnv *env, jobject thiz) { in GetNativeContext()
174 return (JHwParcel *)env->GetLongField(thiz, gFields.contextID); in GetNativeContext()
177 JHwParcel::JHwParcel(JNIEnv *env, jobject thiz) in JHwParcel() function in android::JHwParcel
184 JHwParcel::~JHwParcel() { in ~JHwParcel()
192 hardware::Parcel *JHwParcel::getParcel() { in getParcel()
196 EphemeralStorage *JHwParcel::getStorage() { in getStorage()
[all …]
Dandroid_os_HwParcel.h31 struct JHwParcel : public RefBase { struct
34 static sp<JHwParcel> SetNativeContext(
35 JNIEnv *env, jobject thiz, const sp<JHwParcel> &context);
37 static sp<JHwParcel> GetNativeContext(JNIEnv *env, jobject thiz);
41 JHwParcel(JNIEnv *env, jobject thiz);
56 virtual ~JHwParcel();
68 DISALLOW_COPY_AND_ASSIGN(JHwParcel); argument
Dandroid_os_HwBinder.cpp158 sp<JHwParcel> replyContext = nullptr; in onTransact()
160 ScopedLocalRef<jobject> requestObj(env, JHwParcel::NewObject(env)); in onTransact()
161 JHwParcel::GetNativeContext(env, requestObj.get())->setParcel( in onTransact()
166 replyObj.reset(JHwParcel::NewObject(env)); in onTransact()
168 replyContext = JHwParcel::GetNativeContext(env, replyObj.get()); in onTransact()
214 JHwParcel::GetNativeContext(env, requestObj.get())->setParcel( in onTransact()
282 const hardware::Parcel *request = JHwParcel::GetNativeContext(env, requestObj)->getParcel(); in JHwBinder_native_transact()
283 sp<JHwParcel> replyContext = JHwParcel::GetNativeContext(env, replyObj); in JHwBinder_native_transact()
Dandroid_os_HwRemoteBinder.cpp341 JHwParcel::GetNativeContext(env, requestObj)->getParcel(); in JHwRemoteBinder_native_transact()
344 JHwParcel::GetNativeContext(env, replyObj)->getParcel(); in JHwRemoteBinder_native_transact()