Home
last modified time | relevance | path

Searched refs:NewObject (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_media_MicrophoneInfo.cpp66 jGeometricLocation = env->NewObject(gMicrophoneInfoCoordinateClass, in convertMicrophoneInfoFromNative()
71 jOrientation = env->NewObject(gMicrophoneInfoCoordinateClass, in convertMicrophoneInfoFromNative()
83 jFrequencyResponses = env->NewObject(gArrayListClass, gArrayListCstor); in convertMicrophoneInfoFromNative()
85 jobject jFrequency = env->NewObject(gFloatClass, gFloatCstor, in convertMicrophoneInfoFromNative()
87 jobject jResponse = env->NewObject(gFloatClass, gFloatCstor, in convertMicrophoneInfoFromNative()
89 jobject jFrequencyResponse = env->NewObject(gPairClass, gPairCstor, jFrequency, jResponse); in convertMicrophoneInfoFromNative()
100 jChannelMappings = env->NewObject(gArrayListClass, gArrayListCstor); in convertMicrophoneInfoFromNative()
104 jobject jChannelIndex = env->NewObject(gIntegerClass, gIntegerCstor, i); in convertMicrophoneInfoFromNative()
105 jobject jChannelMappingType = env->NewObject(gIntegerClass, gIntegerCstor, in convertMicrophoneInfoFromNative()
107 jobject jChannelMapping = env->NewObject(gPairClass, gPairCstor, in convertMicrophoneInfoFromNative()
[all …]
Dandroid_os_HwBlob.h42 static jobject NewObject(JNIEnv *env, const void *ptr, size_t handle);
43 static jobject NewObject(JNIEnv *env, size_t size);
Dandroid_net_NetUtils.cpp69 jobject exception = env->NewObject(errnoExceptionClass, in throwErrnoException()
205 return env->NewObject(class_DnsResponse, ctor, answer, rcode); in android_net_utils_resNetworkResult()
225 return env->NewObject( in android_net_utils_getDnsNetwork()
265 return env->NewObject(class_TcpRepairWindow, ctor, trw.snd_wl1, trw.snd_wnd, trw.max_window, in android_net_utils_getTcpRepairWindow()
Dandroid_os_HwBlob.cpp243 jobject JHwBlob::NewObject(JNIEnv *env, const void *ptr, size_t handle) { in NewObject() function in android::JHwBlob
244 jobject obj = JHwBlob::NewObject(env, 0 /* size */); in NewObject()
251 jobject JHwBlob::NewObject(JNIEnv *env, size_t size) { in NewObject() function in android::JHwBlob
260 return env->NewObject(clazz.get(), constructID, size); in NewObject()
474 ScopedLocalRef<jobject> subBlobObj(env, JHwBlob::NewObject(env, size)); in JHwBlob_native_putString()
501 ScopedLocalRef<jobject> subBlobObj(env, JHwBlob::NewObject(env, size)); in JHwBlob_native_putNativeHandle()
Dandroid_media_AudioDeviceAttributes.cpp36 … *jAudioDeviceAttributes = env->NewObject(gAudioDeviceAttributesClass, gAudioDeviceAttributesCstor, in createAudioDeviceAttributesFromNative()
Dandroid_view_VerifiedMotionEvent.cpp34 return env->NewObject(gVerifiedMotionEventClassInfo.clazz, in android_view_VerifiedMotionEvent()
Dandroid_view_VerifiedKeyEvent.cpp34 return env->NewObject(gVerifiedKeyEventClassInfo.clazz, gVerifiedKeyEventClassInfo.constructor, in android_view_VerifiedKeyEvent()
Dandroid_os_HwBinder.cpp159 ScopedLocalRef<jobject> requestObj(env, JHwParcel::NewObject(env)); in onTransact()
165 replyObj.reset(JHwParcel::NewObject(env)); in onTransact()
339 return JHwRemoteBinder::NewObject(env, service); in JHwBinder_native_getService()
Dandroid_os_HwParcel.h38 static jobject NewObject(JNIEnv *env);
Dandroid_os_HwRemoteBinder.h60 static jobject NewObject(JNIEnv *env, const sp<hardware::IBinder> &binder);
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGL14cHeader.cpp84 …jobject localeglNoContextObject = _env->NewObject(eglcontextClass, eglcontextConstructor, reinterp… in nativeClassInit()
86 …jobject localeglNoDisplayObject = _env->NewObject(egldisplayClass, egldisplayConstructor, reinterp… in nativeClassInit()
88 …jobject localeglNoSurfaceObject = _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterp… in nativeClassInit()
132 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle)); in toEGLHandle()
DEGL15cHeader.cpp91 …jobject localeglNoContextObject = _env->NewObject(eglcontextClass, eglcontextConstructor, reinterp… in nativeClassInit()
93 …jobject localeglNoDisplayObject = _env->NewObject(egldisplayClass, egldisplayConstructor, reinterp… in nativeClassInit()
95 …jobject localeglNoSurfaceObject = _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterp… in nativeClassInit()
173 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle)); in toEGLHandle()
/frameworks/base/media/jni/
Dandroid_media_AudioPresentation.h96 return env->NewObject(fields.listClazz, fields.listConstructId); in asJobject()
106 ScopedLocalRef<jobject> jLocale(env, env->NewObject( in addPresentations()
108 ScopedLocalRef<jobject> jValueObj(env, env->NewObject(fields.clazz, fields.constructID, in addPresentations()
127 ScopedLocalRef<jobject> hashMap(env, env->NewObject( in convertLabelsToMap()
136 ScopedLocalRef<jobject> jLocale(env, env->NewObject( in convertLabelsToMap()
Dandroid_media_tv_Tuner.cpp356 env->NewObject( in getLinearBlock()
392 env->NewObject(eventClazz, eventInit, tableId, version, sectionNum, dataLength); in getSectionEvent()
427 env->NewObject(adClazz, adInit, adFade, adPan, versionTextTag, adGainCenter, in getMediaEvent()
443 env->NewObject(eventClazz, eventInit, streamId, isPtsPresent, pts, dataLength, in getMediaEvent()
476 env->NewObject(eventClazz, eventInit, streamId, dataLength, mpuSequenceNumber); in getPesEvent()
516 env->NewObject(eventClazz, eventInit, jpid, ts, sc, byteNumber); in getTsRecordEvent()
536 env->NewObject(eventClazz, eventInit, scHevcIndexMask, byteNumber); in getMmtpRecordEvent()
559 env->NewObject(eventClazz, eventInit, itemId, mpuSequenceNumber, itemFragmentIndex, in getDownloadEvent()
576 jobject obj = env->NewObject(eventClazz, eventInit, dataLength); in getIpPayloadEvent()
599 jobject obj = env->NewObject(eventClazz, eventInit, pts, descrTag, array); in getTemiEvent()
[all …]
Dandroid_media_MediaProfiles.cpp109 jobject cap = env->NewObject(videoEncoderCapClazz, in android_media_MediaProfiles_native_get_video_encoder_cap()
157 jobject cap = env->NewObject(audioEncoderCapClazz, in android_media_MediaProfiles_native_get_audio_encoder_cap()
210 return env->NewObject(camcorderProfileClazz, in android_media_MediaProfiles_native_get_camcorder_profile()
Dandroid_media_Streams.cpp161 return env->NewObject(clazz.get(), integerConstructID, value); in makeIntegerObject()
171 return env->NewObject(clazz.get(), longConstructID, value); in makeLongObject()
182 return env->NewObject(clazz.get(), floatConstructID, value); in makeFloatObject()
244 jobject hashMap = env->NewObject(hashMapClazz.get(), hashMapConstructID); in ConvertMessageToMap()
Dandroid_media_BufferingParams.h68 jobject params = env->NewObject(fields.clazz, fields.constructID); in asJobject()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp230 auto runtimeExc = make_javaref(env, env->NewObject(gjni.RuntimeException.clazz, in ThrowParcelableRuntimeException()
232 auto parcelableExc = make_javaref(env, env->NewObject(gjni.ParcelableException.clazz, in ThrowParcelableRuntimeException()
301 auto jInfo = make_javaref(env, env->NewObject(gjni.HashMap.clazz, gjni.HashMap.cstor)); in VendorInfoFromHal()
395 return make_javaref(env, env->NewObject(gjni.ModuleProperties.clazz, in ModulePropertiesFromHal()
426 return make_javaref(env, env->NewObject( in BandDescriptorFromHal()
432 return make_javaref(env, env->NewObject( in BandDescriptorFromHal()
448 return make_javaref(env, env->NewObject( in BandConfigFromHal()
451 return make_javaref(env, env->NewObject( in BandConfigFromHal()
505 auto jMetadata = make_javaref(env, env->NewObject( in MetadataFromHal()
552 return make_javaref(env, env->NewObject(gjni.ProgramSelector.Identifier.clazz, in ProgramIdentifierFromHal()
[all …]
/frameworks/av/media/libmedia/include/media/
DJAudioAttributes.h33 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createAudioAttributesObj()
DJAudioFormat.h35 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createAudioFormatObj()
/frameworks/av/media/libstagefright/http/
DHTTPHelper.cpp49 env, env->NewObject(clazz.get(), constructID, NULL)); in CreateHTTPServiceInCurrentJavaContext()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp265 constraints = env->NewObject(localRef, ContentValues_constructor); in android_drm_DrmManagerClient_getConstraintsFromContent()
315 metadata = env->NewObject(localRef, constructorId); in android_drm_DrmManagerClient_getMetadataFromContent()
351 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V")); in android_drm_DrmManagerClient_getAllSupportInfo()
490 jobject processedData = env->NewObject(clazz, constructorId, dataArray, in android_drm_DrmManagerClient_processDrmInfo()
498 drmInfoStatus = env->NewObject(localRef, constructorId, statusCode, infoType, in android_drm_DrmManagerClient_processDrmInfo()
555 = env->NewObject(localRef, in android_drm_DrmManagerClient_acquireDrmInfo()
663 = env->NewObject(localRef, constructorId, in GetConvertedStatus()
/frameworks/base/services/core/jni/
Dcom_android_server_SerialService.cpp53 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_SerialService_open()
Dcom_android_server_soundtrigger_middleware_AudioSessionProviderImpl.cpp53 return env->NewObject(cls, in acquireAudioSession()
/frameworks/base/media/mca/filterfw/jni/
Djni_util.cpp167 result = env->NewObject(clazz, constructorID, GetIntValue(value)); in ToJObject()
171 result = env->NewObject(clazz, constructorID, GetFloatValue(value)); in ToJObject()

1234