Lines Matching refs:thiz
75 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { in getMtpServer() argument
77 return (MtpServer*)env->GetLongField(thiz, field_MtpServer_nativeContext); in getMtpServer()
81 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jobject jControlFd, in android_mtp_MtpServer_setup() argument
110 env->SetLongField(thiz, field_MtpServer_nativeContext, (jlong)server); in android_mtp_MtpServer_setup()
114 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz) in android_mtp_MtpServer_run() argument
116 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_run()
124 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz) in android_mtp_MtpServer_cleanup() argument
128 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_cleanup()
131 env->SetLongField(thiz, field_MtpServer_nativeContext, 0); in android_mtp_MtpServer_cleanup()
138 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jint handle) in android_mtp_MtpServer_send_object_added() argument
142 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_added()
150 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) in android_mtp_MtpServer_send_object_removed() argument
154 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_removed()
162 android_mtp_MtpServer_send_object_info_changed(JNIEnv *env, jobject thiz, jint handle) in android_mtp_MtpServer_send_object_info_changed() argument
166 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_info_changed()
174 android_mtp_MtpServer_send_device_property_changed(JNIEnv *env, jobject thiz, jint property) in android_mtp_MtpServer_send_device_property_changed() argument
178 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_device_property_changed()
186 android_mtp_MtpServer_add_storage(JNIEnv *env, jobject thiz, jobject jstorage) in android_mtp_MtpServer_add_storage() argument
190 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_add_storage()
217 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) in android_mtp_MtpServer_remove_storage() argument
221 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_remove_storage()