/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 | 37 static jobject NewObject(JNIEnv *env, const void *ptr, size_t handle); 38 static jobject NewObject(JNIEnv *env, size_t size);
|
D | android_os_HwBinder.cpp | 158 ScopedLocalRef<jobject> requestObj(env, JHwParcel::NewObject(env)); in onTransact() 164 replyObj.reset(JHwParcel::NewObject(env)); in onTransact() 334 return JHwRemoteBinder::NewObject(env, service); in JHwBinder_native_getService()
|
D | android_os_HwBlob.cpp | 221 jobject JHwBlob::NewObject(JNIEnv *env, const void *ptr, size_t handle) { in NewObject() function in android::JHwBlob 222 jobject obj = JHwBlob::NewObject(env, 0 /* size */); in NewObject() 229 jobject JHwBlob::NewObject(JNIEnv *env, size_t size) { in NewObject() function in android::JHwBlob 238 return env->NewObject(clazz.get(), constructID, size); in NewObject() 444 ScopedLocalRef<jobject> subBlobObj(env, JHwBlob::NewObject(env, size)); in JHwBlob_native_putString()
|
D | android_hardware_SoundTrigger.cpp | 224 jAudioFormat = env->NewObject(gAudioFormatClass, in onRecognitionEvent() 250 jobject jConfidenceLevel = env->NewObject(gConfidenceLevelClass, in onRecognitionEvent() 258 jobject jNewExtra = env->NewObject(gKeyphraseRecognitionExtraClass, in onRecognitionEvent() 272 jEvent = env->NewObject(gKeyphraseRecognitionEventClass, gKeyphraseRecognitionEventCstor, in onRecognitionEvent() 279 jEvent = env->NewObject(gGenericRecognitionEventClass, gGenericRecognitionEventCstor, in onRecognitionEvent() 285 jEvent = env->NewObject(gRecognitionEventClass, gRecognitionEventCstor, in onRecognitionEvent() 322 jEvent = env->NewObject(gSoundModelEventClass, gSoundModelEventCstor, in onSoundModelEvent() 431 jobject newModuleDesc = env->NewObject(gModulePropertiesClass, gModulePropertiesCstor, in android_hardware_SoundTrigger_listModules()
|
D | android_os_HwParcel.h | 38 static jobject NewObject(JNIEnv *env);
|
D | android_media_AudioSystem.cpp | 759 jobject jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortConfigFromNative() 772 jAudioPort = env->NewObject(gAudioPortClass, gAudioPortCstor, in convertAudioPortConfigFromNative() 802 jAudioGain = env->NewObject(gAudioGainClass, gAudioGainCstor, in convertAudioPortConfigFromNative() 858 jAudioGainConfig = env->NewObject(gAudioGainConfigClass, in convertAudioPortConfigFromNative() 902 *jAudioPortConfig = env->NewObject(clazz, methodID, in convertAudioPortConfigFromNative() 1079 jobject jGain = env->NewObject(gAudioGainClass, gAudioGainCstor, in convertAudioPortFromNative() 1097 jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortFromNative() 1109 *jAudioPort = env->NewObject(gAudioDevicePortClass, gAudioDevicePortCstor, in convertAudioPortFromNative() 1117 *jAudioPort = env->NewObject(gAudioMixPortClass, gAudioMixPortCstor, in convertAudioPortFromNative() 1342 jPatchHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in android_media_AudioSystem_createAudioPatch() [all …]
|
D | android_os_HwRemoteBinder.h | 58 static jobject NewObject(JNIEnv *env, const sp<hardware::IBinder> &binder);
|
D | android_media_MediaMetricsJNI.cpp | 39 mybundle = env->NewObject(clazzBundle, constructID); in writeMetricsToBundle()
|
D | android_os_SharedMemory.cpp | 45 jobject exception = env->NewObject(JniConstants::errnoExceptionClass, ctor, in throwErrnoException()
|
D | android_os_HwParcel.cpp | 197 jobject JHwParcel::NewObject(JNIEnv *env) { in NewObject() function in android::JHwParcel 203 return env->NewObject(clazz.get(), constructID, false /* allocate */); in NewObject() 802 return JHwRemoteBinder::NewObject(env, binder); in JHwParcel_native_readStrongBinder() 825 return JHwBlob::NewObject(env, ptr, handle); in JHwParcel_native_readBuffer() 854 return JHwBlob::NewObject(env, ptr, childHandle); in JHwParcel_native_readEmbeddedBuffer()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 86 …jobject localeglNoContextObject = _env->NewObject(eglcontextClass, eglcontextConstructor, reinterp… in nativeClassInit() 88 …jobject localeglNoDisplayObject = _env->NewObject(egldisplayClass, egldisplayConstructor, reinterp… in nativeClassInit() 90 …jobject localeglNoSurfaceObject = _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterp… in nativeClassInit() 133 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle)); in toEGLHandle()
|
/frameworks/base/media/jni/ |
D | android_media_AudioPresentation.h | 97 jobject hashMap = env->NewObject(hashMapClazz.get(), hashMapConstructID); in ConvertMessageToMap() 131 jobject list = env->NewObject(fields.listclazz, fields.listConstructId); in asJobject() 147 jobject jValueObj = env->NewObject(fields.clazz, fields.constructID, in asJobject()
|
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_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/libstagefright/http/ |
D | HTTPHelper.cpp | 49 env, env->NewObject(clazz.get(), constructID)); 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/av/media/libmedia/include/media/ |
D | JAudioFormat.h | 35 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createAudioFormatObj()
|
D | JAudioAttributes.h | 34 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createAudioAttributesObj()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_SerialService.cpp | 53 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_SerialService_open()
|
/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()
|
/frameworks/av/media/libmediaplayer2/ |
D | JAudioTrack.cpp | 65 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in JAudioTrack() 196 jobject jPlaybackParamsObj = env->NewObject(jPlaybackParamsCls, jPlaybackParamsCtor); in setPlaybackRate() 575 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createVolumeShaperConfigurationObj() 602 jobject jBuilderObj = env->NewObject(jBuilderCls, jBuilderCtor); in createVolumeShaperOperationObj() 653 jobject jCallbackObj = env->NewObject(jCallbackCls, jCallbackCtor, this, cbf, user); in createStreamEventCallback()
|
/frameworks/base/core/jni/android/graphics/ |
D | ImageDecoder.cpp | 71 jthrowable exception = (jthrowable) env->NewObject(gDecodeException_class, in throw_exception() 120 return env->NewObject(gImageDecoder_class, gImageDecoder_constructorMethodID, in native_create() 187 jobject jcanvas = env->NewObject(gCanvas_class, gCanvas_constructorMethodID, in postProcessAndRelease() 480 return env->NewObject(gSize_class, gSize_constructorMethodID, size.width(), size.height()); in ImageDecoder_nGetSampledSize()
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.cpp | 162 j_env->NewObject(clsAudioTrackRoutingProxy, in AllocPlayerRoutingProxy() 237 j_env->NewObject(clsAudioRecordRoutingProxy, in AllocRecorderRoutingProxy()
|