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 | 53 static jfieldID field_context; variable 135 return (MtpDevice*)env->GetLongField(javaDevice, field_context); in get_device_from_object() 201 env->SetLongField(thiz, field_context, (jlong)device); in android_mtp_MtpDevice_open() 212 env->SetLongField(thiz, field_context, 0); in android_mtp_MtpDevice_close() 1013 field_context = env->GetFieldID(clazz, "mNativeContext", "J"); in register_android_mtp_MtpDevice() 1014 if (field_context == NULL) { in register_android_mtp_MtpDevice()
|
D | android_mtp_MtpDatabase.cpp | 76 static jfieldID field_context; variable 91 return (MtpDatabase *)env->GetLongField(database, field_context); in getMtpDatabase() 1236 env->SetLongField(thiz, field_context, (jlong)database); in android_mtp_MtpDatabase_setup() 1243 MyMtpDatabase* database = (MyMtpDatabase *)env->GetLongField(thiz, field_context); in android_mtp_MtpDatabase_finalize() 1246 env->SetLongField(thiz, field_context, 0); in android_mtp_MtpDatabase_finalize() 1376 field_context = env->GetFieldID(clazz, "mNativeContext", "J"); in register_android_mtp_MtpDatabase() 1377 if (field_context == NULL) { in register_android_mtp_MtpDatabase()
|