Searched refs:nativeDataObject (Results 1 – 1 of 1) sorted by relevance
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 595 jbyteArray nativeDataObject = (jbyteArray) (*env)->GetObjectField( in _convertPrinterCaps_to_C() local 597 if (!nativeDataObject) { in _convertPrinterCaps_to_C() 600 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertPrinterCaps_to_C() 602 (*env)->ReleaseByteArrayElements(env, nativeDataObject, nativeDataPtr, 0); in _convertPrinterCaps_to_C() 617 jbyteArray nativeDataObject = (jbyteArray) (*env)->GetObjectField( in _convertPrinterCaps_to_Java() local 619 if (!nativeDataObject) { in _convertPrinterCaps_to_Java() 621 nativeDataObject = (*env)->NewByteArray(env, sizeof(printer_capabilities_t)); in _convertPrinterCaps_to_Java() 624 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertPrinterCaps_to_Java() 626 (*env)->ReleaseByteArrayElements(env, nativeDataObject, nativeDataPtr, 0); in _convertPrinterCaps_to_Java() 630 nativeDataObject); in _convertPrinterCaps_to_Java() [all …]
|