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() 246 field_context = env->GetFieldID(clazz, "mNativeContext", "J"); in register_android_hardware_UsbRequest() 247 if (field_context == NULL) { in register_android_hardware_UsbRequest()
|
D | android_hardware_UsbDeviceConnection.cpp | 39 static jfieldID field_context; variable 43 return (struct usb_device*)env->GetLongField(connection, field_context); in get_device_from_object() 59 env->SetLongField(thiz, field_context, (jlong)device); in android_hardware_UsbDeviceConnection_open() 76 env->SetLongField(thiz, field_context, 0); in android_hardware_UsbDeviceConnection_close() 322 field_context = GetFieldIDOrDie(env, clazz, "mNativeContext", "J"); in register_android_hardware_UsbDeviceConnection()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 54 static jfieldID field_context; variable 195 field_context = GetFieldIDOrDie(env, clazz, "mNativeContext", "J"); in initializeJavaIDs() 233 return (MtpDevice*)env->GetLongField(javaDevice, field_context); in get_device_from_object() 304 env->SetLongField(thiz, field_context, (jlong)device); in android_mtp_MtpDevice_open() 315 env->SetLongField(thiz, field_context, 0); in android_mtp_MtpDevice_close()
|
D | android_mtp_MtpDatabase.cpp | 81 static jfieldID field_context; variable 128 field_context = GetFieldIDOrDie(env, mdb_class, "mNativeContext", "J"); in initializeJavaIDs() 147 return (IMtpDatabase *)env->GetLongField(database, field_context); in getMtpDatabase() 1343 env->SetLongField(thiz, field_context, (jlong)database); in android_mtp_MtpDatabase_setup() 1350 MtpDatabase* database = (MtpDatabase *)env->GetLongField(thiz, field_context); in android_mtp_MtpDatabase_finalize() 1353 env->SetLongField(thiz, field_context, 0); in android_mtp_MtpDatabase_finalize()
|