/frameworks/base/core/jni/ |
D | android_media_MicrophoneInfo.cpp | 66 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 …]
|
D | android_os_HwBlob.h | 42 static jobject NewObject(JNIEnv *env, const void *ptr, size_t handle); 43 static jobject NewObject(JNIEnv *env, size_t size);
|
D | android_net_NetUtils.cpp | 69 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()
|
D | android_os_HwBlob.cpp | 243 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()
|
D | android_media_AudioDeviceAttributes.cpp | 36 … *jAudioDeviceAttributes = env->NewObject(gAudioDeviceAttributesClass, gAudioDeviceAttributesCstor, in createAudioDeviceAttributesFromNative()
|
D | android_view_VerifiedMotionEvent.cpp | 34 return env->NewObject(gVerifiedMotionEventClassInfo.clazz, in android_view_VerifiedMotionEvent()
|
D | android_view_VerifiedKeyEvent.cpp | 34 return env->NewObject(gVerifiedKeyEventClassInfo.clazz, gVerifiedKeyEventClassInfo.constructor, in android_view_VerifiedKeyEvent()
|
D | android_os_HwBinder.cpp | 159 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()
|
D | android_os_HwParcel.h | 38 static jobject NewObject(JNIEnv *env);
|
D | android_os_HwRemoteBinder.h | 60 static jobject NewObject(JNIEnv *env, const sp<hardware::IBinder> &binder);
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 84 …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()
|
D | EGL15cHeader.cpp | 91 …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/ |
D | android_media_AudioPresentation.h | 96 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()
|
D | android_media_tv_Tuner.cpp | 356 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 …]
|
D | android_media_MediaProfiles.cpp | 109 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()
|
D | android_media_Streams.cpp | 161 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()
|
D | android_media_BufferingParams.h | 68 jobject params = env->NewObject(fields.clazz, fields.constructID); in asJobject()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 230 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/ |
D | JAudioAttributes.h | 33 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createAudioAttributesObj()
|
D | JAudioFormat.h | 35 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createAudioFormatObj()
|
/frameworks/av/media/libstagefright/http/ |
D | HTTPHelper.cpp | 49 env, env->NewObject(clazz.get(), constructID, NULL)); in CreateHTTPServiceInCurrentJavaContext()
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 265 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/ |
D | com_android_server_SerialService.cpp | 53 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_SerialService_open()
|
D | com_android_server_soundtrigger_middleware_AudioSessionProviderImpl.cpp | 53 return env->NewObject(cls, in acquireAudioSession()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_util.cpp | 167 result = env->NewObject(clazz, constructorID, GetIntValue(value)); in ToJObject() 171 result = env->NewObject(clazz, constructorID, GetFloatValue(value)); in ToJObject()
|