Searched refs:field_context (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_hardware_SerialPort.cpp | 33 static jfieldID field_context; variable 142 env->SetIntField(thiz, field_context, fd); in android_hardware_SerialPort_open() 163 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_close() 165 env->SetIntField(thiz, field_context, -1); in android_hardware_SerialPort_close() 171 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_read_array() 193 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_read_direct() 210 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_write_array() 227 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_write_direct() 242 int fd = env->GetIntField(thiz, field_context); in android_hardware_SerialPort_send_break() 264 field_context = GetFieldIDOrDie(env, clazz, "mNativeContext", "I"); in register_android_hardware_SerialPort()
|
D | android_hardware_UsbRequest.cpp | 31 static jfieldID field_context; variable 35 return (struct usb_request*)env->GetLongField(java_request, field_context); in get_request_from_object() 64 env->SetLongField(thiz, field_context, (jlong)request); in android_hardware_UsbRequest_init() 75 env->SetLongField(thiz, field_context, 0); in android_hardware_UsbRequest_close() 212 field_context = env->GetFieldID(clazz, "mNativeContext", "J"); in register_android_hardware_UsbRequest() 213 if (field_context == NULL) { in register_android_hardware_UsbRequest()
|
D | android_hardware_UsbDeviceConnection.cpp | 34 static jfieldID field_context; variable 38 return (struct usb_device*)env->GetLongField(connection, field_context); in get_device_from_object() 54 env->SetLongField(thiz, field_context, (jlong)device); in android_hardware_UsbDeviceConnection_open() 71 env->SetLongField(thiz, field_context, 0); in android_hardware_UsbDeviceConnection_close() 272 field_context = GetFieldIDOrDie(env, clazz, "mNativeContext", "J"); in register_android_hardware_UsbDeviceConnection()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 44 static jfieldID field_context; variable 91 return (MtpDevice*)env->GetLongField(javaDevice, field_context); in get_device_from_object() 108 env->SetLongField(thiz, field_context, (jlong)device); in android_mtp_MtpDevice_open() 119 env->SetLongField(thiz, field_context, 0); in android_mtp_MtpDevice_close() 612 field_context = env->GetFieldID(clazz, "mNativeContext", "J"); in register_android_mtp_MtpDevice() 613 if (field_context == NULL) { in register_android_mtp_MtpDevice()
|
D | android_mtp_MtpDatabase.cpp | 71 static jfieldID field_context; variable 86 return (MtpDatabase *)env->GetLongField(database, field_context); in getMtpDatabase() 1152 env->SetLongField(thiz, field_context, (jlong)database); in android_mtp_MtpDatabase_setup() 1159 MyMtpDatabase* database = (MyMtpDatabase *)env->GetLongField(thiz, field_context); in android_mtp_MtpDatabase_finalize() 1162 env->SetLongField(thiz, field_context, 0); in android_mtp_MtpDatabase_finalize() 1292 field_context = env->GetFieldID(clazz, "mNativeContext", "J"); in register_android_mtp_MtpDatabase() 1293 if (field_context == NULL) { in register_android_mtp_MtpDatabase()
|