Lines Matching refs:NULL
106 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); in android_mtp_MtpDevice_open()
107 if (deviceNameStr == NULL) { in android_mtp_MtpDevice_open()
116 return (device != NULL); in android_mtp_MtpDevice_open()
136 return NULL; in android_mtp_MtpDevice_get_device_info()
141 return NULL; in android_mtp_MtpDevice_get_device_info()
144 if (info == NULL) { in android_mtp_MtpDevice_get_device_info()
147 return NULL; in android_mtp_MtpDevice_get_device_info()
172 return NULL; in android_mtp_MtpDevice_get_storage_ids()
175 return NULL; in android_mtp_MtpDevice_get_storage_ids()
191 return NULL; in android_mtp_MtpDevice_get_storage_info()
194 return NULL; in android_mtp_MtpDevice_get_storage_info()
197 if (info == NULL) { in android_mtp_MtpDevice_get_storage_info()
200 return NULL; in android_mtp_MtpDevice_get_storage_info()
226 return NULL; in android_mtp_MtpDevice_get_object_handles()
229 return NULL; in android_mtp_MtpDevice_get_object_handles()
245 return NULL; in android_mtp_MtpDevice_get_object_info()
248 return NULL; in android_mtp_MtpDevice_get_object_info()
250 if (info == NULL) { in android_mtp_MtpDevice_get_object_info()
253 return NULL; in android_mtp_MtpDevice_get_object_info()
319 return NULL; in android_mtp_MtpDevice_get_object()
323 jniThrowException(env, "java/lang/OutOfMemoryError", NULL); in android_mtp_MtpDevice_get_object()
324 return NULL; in android_mtp_MtpDevice_get_object()
333 return NULL; in android_mtp_MtpDevice_get_object()
341 return NULL; in android_mtp_MtpDevice_get_thumbnail()
346 return NULL; in android_mtp_MtpDevice_get_thumbnail()
361 return NULL; in android_mtp_MtpDevice_delete_object()
389 const char *destPathStr = env->GetStringUTFChars(dest_path, NULL); in android_mtp_MtpDevice_import_file()
390 if (destPathStr == NULL) { in android_mtp_MtpDevice_import_file()
435 if (clazz == NULL) { in register_android_mtp_MtpDevice()
440 if (constructor_deviceInfo == NULL) { in register_android_mtp_MtpDevice()
445 if (field_deviceInfo_manufacturer == NULL) { in register_android_mtp_MtpDevice()
450 if (field_deviceInfo_model == NULL) { in register_android_mtp_MtpDevice()
455 if (field_deviceInfo_version == NULL) { in register_android_mtp_MtpDevice()
460 if (field_deviceInfo_serialNumber == NULL) { in register_android_mtp_MtpDevice()
467 if (clazz == NULL) { in register_android_mtp_MtpDevice()
472 if (constructor_storageInfo == NULL) { in register_android_mtp_MtpDevice()
477 if (field_storageInfo_storageId == NULL) { in register_android_mtp_MtpDevice()
482 if (field_storageInfo_maxCapacity == NULL) { in register_android_mtp_MtpDevice()
487 if (field_storageInfo_freeSpace == NULL) { in register_android_mtp_MtpDevice()
492 if (field_storageInfo_description == NULL) { in register_android_mtp_MtpDevice()
497 if (field_storageInfo_volumeIdentifier == NULL) { in register_android_mtp_MtpDevice()
504 if (clazz == NULL) { in register_android_mtp_MtpDevice()
509 if (constructor_objectInfo == NULL) { in register_android_mtp_MtpDevice()
514 if (field_objectInfo_handle == NULL) { in register_android_mtp_MtpDevice()
519 if (field_objectInfo_storageId == NULL) { in register_android_mtp_MtpDevice()
524 if (field_objectInfo_format == NULL) { in register_android_mtp_MtpDevice()
529 if (field_objectInfo_protectionStatus == NULL) { in register_android_mtp_MtpDevice()
534 if (field_objectInfo_compressedSize == NULL) { in register_android_mtp_MtpDevice()
539 if (field_objectInfo_thumbFormat == NULL) { in register_android_mtp_MtpDevice()
544 if (field_objectInfo_thumbCompressedSize == NULL) { in register_android_mtp_MtpDevice()
549 if (field_objectInfo_thumbPixWidth == NULL) { in register_android_mtp_MtpDevice()
554 if (field_objectInfo_thumbPixHeight == NULL) { in register_android_mtp_MtpDevice()
559 if (field_objectInfo_imagePixWidth == NULL) { in register_android_mtp_MtpDevice()
564 if (field_objectInfo_imagePixHeight == NULL) { in register_android_mtp_MtpDevice()
569 if (field_objectInfo_imagePixDepth == NULL) { in register_android_mtp_MtpDevice()
574 if (field_objectInfo_parent == NULL) { in register_android_mtp_MtpDevice()
579 if (field_objectInfo_associationType == NULL) { in register_android_mtp_MtpDevice()
584 if (field_objectInfo_associationDesc == NULL) { in register_android_mtp_MtpDevice()
589 if (field_objectInfo_sequenceNumber == NULL) { in register_android_mtp_MtpDevice()
594 if (field_objectInfo_name == NULL) { in register_android_mtp_MtpDevice()
599 if (field_objectInfo_dateCreated == NULL) { in register_android_mtp_MtpDevice()
604 if (field_objectInfo_dateModified == NULL) { in register_android_mtp_MtpDevice()
609 if (field_objectInfo_keywords == NULL) { in register_android_mtp_MtpDevice()
616 if (clazz == NULL) { in register_android_mtp_MtpDevice()
621 if (field_context == NULL) { in register_android_mtp_MtpDevice()