Searched refs:field_context (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_hardware_SerialPort.cpp33 static jfieldID field_context; variable
142 env->SetIntField(thiz, field_context, fd);
163 int fd = env->GetIntField(thiz, field_context);
165 env->SetIntField(thiz, field_context, -1);
171 int fd = env->GetIntField(thiz, field_context);
193 int fd = env->GetIntField(thiz, field_context);
210 int fd = env->GetIntField(thiz, field_context);
227 int fd = env->GetIntField(thiz, field_context);
242 int fd = env->GetIntField(thiz, field_context);
268 field_context
[all...]
H A Dandroid_hardware_UsbDeviceConnection.cpp34 static jfieldID field_context; variable
38 return (struct usb_device*)env->GetLongField(connection, field_context);
54 env->SetLongField(thiz, field_context, (jlong)device);
71 env->SetLongField(thiz, field_context, 0);
276 field_context = env->GetFieldID(clazz, "mNativeContext", "J");
277 if (field_context == NULL) {
H A Dandroid_hardware_UsbRequest.cpp31 static jfieldID field_context; variable
35 return (struct usb_request*)env->GetLongField(java_request, field_context);
64 env->SetLongField(thiz, field_context, (jlong)request);
75 env->SetLongField(thiz, field_context, 0);
212 field_context = env->GetFieldID(clazz, "mNativeContext", "J");
213 if (field_context == NULL) {
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp44 static jfieldID field_context; variable
91 return (MtpDevice*)env->GetLongField(javaDevice, field_context);
116 env->SetLongField(thiz, field_context, (jlong)device);
127 env->SetLongField(thiz, field_context, 0);
622 field_context = env->GetFieldID(clazz, "mNativeContext", "J");
623 if (field_context == NULL) {
H A Dandroid_mtp_MtpDatabase.cpp71 static jfieldID field_context; variable
86 return (MtpDatabase *)env->GetLongField(database, field_context);
1148 env->SetLongField(thiz, field_context, (jlong)database);
1155 MyMtpDatabase* database = (MyMtpDatabase *)env->GetLongField(thiz, field_context);
1158 env->SetLongField(thiz, field_context, 0);
1290 field_context = env->GetFieldID(clazz, "mNativeContext", "J");
1291 if (field_context == NULL) {

Completed in 284 milliseconds