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() 268 field_context = env->GetFieldID(clazz, "mNativeContext", "I"); in register_android_hardware_SerialPort() [all …]
|
D | android_hardware_UsbRequest.cpp | 31 static jfieldID field_context; variable 35 return (struct usb_request*)env->GetIntField(java_request, field_context); in get_request_from_object() 64 env->SetIntField(thiz, field_context, (int)request); in android_hardware_UsbRequest_init() 75 env->SetIntField(thiz, field_context, 0); in android_hardware_UsbRequest_close() 210 field_context = env->GetFieldID(clazz, "mNativeContext", "I"); in register_android_hardware_UsbRequest() 211 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->GetIntField(connection, field_context); in get_device_from_object() 54 env->SetIntField(thiz, field_context, (int)device); in android_hardware_UsbDeviceConnection_open() 71 env->SetIntField(thiz, field_context, 0); in android_hardware_UsbDeviceConnection_close() 249 field_context = env->GetFieldID(clazz, "mNativeContext", "I"); in register_android_hardware_UsbDeviceConnection() 250 if (field_context == NULL) { in register_android_hardware_UsbDeviceConnection()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 43 static jfieldID field_context; variable 90 return (MtpDevice*)env->GetIntField(javaDevice, field_context); in get_device_from_object() 115 env->SetIntField(thiz, field_context, (int)device); in android_mtp_MtpDevice_open() 126 env->SetIntField(thiz, field_context, 0); in android_mtp_MtpDevice_close() 620 field_context = env->GetFieldID(clazz, "mNativeContext", "I"); in register_android_mtp_MtpDevice() 621 if (field_context == NULL) { in register_android_mtp_MtpDevice()
|
D | android_mtp_MtpDatabase.cpp | 66 static jfieldID field_context; variable 79 return (MtpDatabase *)env->GetIntField(database, field_context); in getMtpDatabase() 1077 env->SetIntField(thiz, field_context, (int)database); in android_mtp_MtpDatabase_setup() 1084 MyMtpDatabase* database = (MyMtpDatabase *)env->GetIntField(thiz, field_context); in android_mtp_MtpDatabase_finalize() 1087 env->SetIntField(thiz, field_context, 0); in android_mtp_MtpDatabase_finalize() 1219 field_context = env->GetFieldID(clazz, "mNativeContext", "I"); in register_android_mtp_MtpDatabase() 1220 if (field_context == NULL) { in register_android_mtp_MtpDatabase()
|