/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 91 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) in JNIMediaRecorderListener() 112 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaRecorderListener() local 121 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local 127 static sp<Surface> get_surface(JNIEnv* env, jobject clazz) in get_surface() 133 static sp<PersistentSurface> get_persistentSurface(JNIEnv* env, jobject object) in get_persistentSurface() 140 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, cons… in process_media_recorder_call() 153 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) in getMediaRecorder() 160 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recor… in setMediaRecorder() 175 static void android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) in android_media_MediaRecorder_setCamera() 197 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) in android_media_MediaRecorder_setVideoSource() [all …]
|
D | android_media_MediaPlayer.cpp | 117 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) in JNIMediaPlayerListener() 138 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JNIMediaPlayerListener() local 145 JNIEnv *env = AndroidRuntime::getJNIEnv(); in notify() local 168 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) in getMediaPlayer() 175 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) in setMediaPlayer() 193 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exc… in process_media_player_call() 223 JNIEnv *env, jobject thiz, jobject httpServiceBinderObj, jstring path, in android_media_MediaPlayer_setDataSourceAndHeaders() 272 android_media_MediaPlayer_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong … in android_media_MediaPlayer_setDataSourceFD() 290 android_media_MediaPlayer_setDataSourceCallback(JNIEnv *env, jobject thiz, jobject dataSource) in android_media_MediaPlayer_setDataSourceCallback() 307 getVideoSurfaceTexture(JNIEnv* env, jobject thiz) { in getVideoSurfaceTexture() [all …]
|
D | android_media_MediaHTTPConnection.cpp | 34 JMediaHTTPConnection::JMediaHTTPConnection(JNIEnv *env, jobject thiz) in JMediaHTTPConnection() 54 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JMediaHTTPConnection() local 85 JNIEnv *env, jobject thiz, const sp<JMediaHTTPConnection> &conn) { in setObject() 100 static sp<JMediaHTTPConnection> getObject(JNIEnv *env, jobject thiz) { in getObject() 104 static void android_media_MediaHTTPConnection_native_init(JNIEnv *env) { in android_media_MediaHTTPConnection_native_init() 116 JNIEnv *env, jobject thiz) { in android_media_MediaHTTPConnection_native_setup() 123 JNIEnv *env, jobject thiz) { in android_media_MediaHTTPConnection_native_finalize() 128 JNIEnv *env, jobject thiz) { in android_media_MediaHTTPConnection_native_getIMemory() 135 JNIEnv *env, jobject thiz, jlong offset, jint size) { in android_media_MediaHTTPConnection_native_readAt() 174 int register_android_media_MediaHTTPConnection(JNIEnv *env) { in register_android_media_MediaHTTPConnection()
|
D | android_media_JetPlayer.cpp | 51 static void initializeJavaIDs(JNIEnv* env) { in initializeJavaIDs() 54 std::call_once(sJniInitialized, [](JNIEnv* env) { in initializeJavaIDs() 80 JNIEnv *env = AndroidRuntime::getJNIEnv(); in jetPlayerEventCallback() local 101 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_JetPlayer_setup() 127 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) in android_media_JetPlayer_finalize() 143 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) in android_media_JetPlayer_release() 153 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) in android_media_JetPlayer_loadFromFile() 189 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, in android_media_JetPlayer_loadFromFileD() 220 android_media_JetPlayer_closeFile(JNIEnv *env, jobject thiz) in android_media_JetPlayer_closeFile() 242 android_media_JetPlayer_play(JNIEnv *env, jobject thiz) in android_media_JetPlayer_play() [all …]
|
D | android_media_MediaCrypto.cpp | 40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { in getCrypto() 45 JNIEnv *env, jobject thiz, in JCrypto() 58 JNIEnv *env = AndroidRuntime::getJNIEnv(); in ~JCrypto() local 111 sp<ICrypto> JCrypto::GetCrypto(JNIEnv *env, jobject obj) { in GetCrypto() 129 static Vector<uint8_t> JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) { in JByteArrayToVector() 142 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { in setCrypto() 155 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) { in android_media_MediaCrypto_release() 159 static void android_media_MediaCrypto_native_init(JNIEnv *env) { in android_media_MediaCrypto_native_init() 168 JNIEnv *env, jobject thiz, in android_media_MediaCrypto_native_setup() 217 JNIEnv *env, jobject thiz) { in android_media_MediaCrypto_native_finalize() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_animation_NativeInterpolatorFactory.cpp | 26 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator() 30 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator() 34 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator() 38 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator() 42 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator() 46 static jlong createCycleInterpolator(JNIEnv* env, jobject clazz, jfloat cycles) { in createCycleInterpolator() 50 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createDecelerateInterpolator() 54 static jlong createLinearInterpolator(JNIEnv* env, jobject clazz) { in createLinearInterpolator() 58 static jlong createOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createOvershootInterpolator() 62 static jlong createPathInterpolator(JNIEnv* env, jobject clazz, jfloatArray jX, jfloatArray jY) { in createPathInterpolator() [all …]
|
D | Graphics.cpp | 33 JNIEnv* env; in getJNIEnv() local 43 JNIEnv* env = nullptr; in attachJNIEnv() local 58 void doThrowNPE(JNIEnv* env) { in doThrowNPE() 62 void doThrowAIOOBE(JNIEnv* env) { in doThrowAIOOBE() 66 void doThrowRE(JNIEnv* env, const char* msg) { in doThrowRE() 70 void doThrowIAE(JNIEnv* env, const char* msg) { in doThrowIAE() 74 void doThrowISE(JNIEnv* env, const char* msg) { in doThrowISE() 78 void doThrowOOME(JNIEnv* env, const char* msg) { in doThrowOOME() 82 void doThrowIOE(JNIEnv* env, const char* msg) { in doThrowIOE() 86 bool GraphicsJNI::hasException(JNIEnv *env) { in hasException() [all …]
|
D | Movie.cpp | 20 jobject create_jmovie(JNIEnv* env, Movie* moov) { in create_jmovie() 28 static Movie* J2Movie(JNIEnv* env, jobject movie) { in J2Movie() 39 static jint movie_width(JNIEnv* env, jobject movie) { in movie_width() 44 static jint movie_height(JNIEnv* env, jobject movie) { in movie_height() 49 static jboolean movie_isOpaque(JNIEnv* env, jobject movie) { in movie_isOpaque() 54 static jint movie_duration(JNIEnv* env, jobject movie) { in movie_duration() 59 static jboolean movie_setTime(JNIEnv* env, jobject movie, jint ms) { in movie_setTime() 64 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, in movie_draw() 81 static jobject movie_decodeAsset(JNIEnv* env, jobject clazz, jlong native_asset) { in movie_decodeAsset() 89 static jobject movie_decodeStream(JNIEnv* env, jobject clazz, jobject istream) { in movie_decodeStream() [all …]
|
D | Camera.cpp | 8 static void Camera_constructor(JNIEnv* env, jobject obj) { in Camera_constructor() 13 static void Camera_destructor(JNIEnv* env, jobject obj) { in Camera_destructor() 19 static void Camera_save(JNIEnv* env, jobject obj) { in Camera_save() 25 static void Camera_restore(JNIEnv* env, jobject obj) { in Camera_restore() 31 static void Camera_translate(JNIEnv* env, jobject obj, in Camera_translate() 38 static void Camera_rotateX(JNIEnv* env, jobject obj, jfloat degrees) { in Camera_rotateX() 44 static void Camera_rotateY(JNIEnv* env, jobject obj, jfloat degrees) { in Camera_rotateY() 50 static void Camera_rotateZ(JNIEnv* env, jobject obj, jfloat degrees) { in Camera_rotateZ() 56 static void Camera_rotate(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) { in Camera_rotate() 64 static void Camera_setLocation(JNIEnv* env, jobject obj, jfloat x, jfloat y, jfloat z) { in Camera_setLocation() [all …]
|
D | android_graphics_animation_RenderNodeAnimator.cpp | 34 JNIEnv* env; in getEnv() local 56 AnimationListenerBridge(JNIEnv* env, jobject finishListener) { in AnimationListenerBridge() 69 JNIEnv* env = getEnv(mJvm); in onAnimationFinished() local 79 JNIEnv* env = getEnv(mJvm); in releaseJavaObject() local 101 static jlong createAnimator(JNIEnv* env, jobject clazz, in createAnimator() 109 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyFloatAnimator() 117 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyPaintAnimator() 128 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, in createRevealAnimator() 135 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { in setStartValue() 140 static void setDuration(JNIEnv* env, jobject clazz, jlong animatorPtr, jlong duration) { in setDuration() [all …]
|
D | AnimatedImageDrawable.cpp | 45 static jlong AnimatedImageDrawable_nCreate(JNIEnv* env, jobject /*clazz*/, in AnimatedImageDrawable_nCreate() 132 static jlong AnimatedImageDrawable_nDraw(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nDraw() 139 static void AnimatedImageDrawable_nSetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetAlpha() 145 static jlong AnimatedImageDrawable_nGetAlpha(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nGetAlpha() 150 static void AnimatedImageDrawable_nSetColorFilter(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetColorFilter() 158 static jboolean AnimatedImageDrawable_nIsRunning(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nIsRunning() 163 static jboolean AnimatedImageDrawable_nStart(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nStart() 168 static jboolean AnimatedImageDrawable_nStop(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nStop() 176 static jint AnimatedImageDrawable_nGetRepeatCount(JNIEnv* env, jobject /*clazz*/, jlong nativePtr) { in AnimatedImageDrawable_nGetRepeatCount() 181 static void AnimatedImageDrawable_nSetRepeatCount(JNIEnv* env, jobject /*clazz*/, jlong nativePtr, in AnimatedImageDrawable_nSetRepeatCount() [all …]
|
D | android_graphics_Picture.cpp | 28 static jlong android_graphics_Picture_newPicture(JNIEnv* env, jobject, jlong srcHandle) { in android_graphics_Picture_newPicture() 33 static jlong android_graphics_Picture_deserialize(JNIEnv* env, jobject, jobject jstream, in android_graphics_Picture_deserialize() 44 static void android_graphics_Picture_killPicture(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_killPicture() 50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw() 59 static jboolean android_graphics_Picture_serialize(JNIEnv* env, jobject, jlong pictureHandle, in android_graphics_Picture_serialize() 72 static jint android_graphics_Picture_getWidth(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getWidth() 77 static jint android_graphics_Picture_getHeight(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getHeight() 82 static jlong android_graphics_Picture_beginRecording(JNIEnv* env, jobject, jlong pictHandle, in android_graphics_Picture_beginRecording() 89 static void android_graphics_Picture_endRecording(JNIEnv* env, jobject, jlong pictHandle) { in android_graphics_Picture_endRecording() 106 int register_android_graphics_Picture(JNIEnv* env) { in register_android_graphics_Picture()
|
/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 82 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, in SurfaceTexture_setSurfaceTexture() 96 static void SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, in SurfaceTexture_setProducer() 110 static void SurfaceTexture_setFrameAvailableListener(JNIEnv* env, in SurfaceTexture_setFrameAvailableListener() 125 sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { in SurfaceTexture_getSurfaceTexture() 129 sp<IGraphicBufferProducer> SurfaceTexture_getProducer(JNIEnv* env, jobject thiz) { in SurfaceTexture_getProducer() 133 bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz) { in android_SurfaceTexture_isInstanceOf() 142 JNISurfaceTextureContextCommon(JNIEnv* env, jobject weakThiz, jclass clazz) in JNISurfaceTextureContextCommon() 146 JNIEnv* env = getJNIEnv(); in ~JNISurfaceTextureContextCommon() local 156 JNIEnv* env = getJNIEnv(); in onFrameAvailable() local 166 JNIEnv* env = AndroidRuntime::getJNIEnv(); in getJNIEnv() local [all …]
|
D | android_media_AudioTrack.cpp | 85 const auto env = getJNIEnvOrDie(); in AudioTrackCallbackImpl() local 95 const auto env = getJNIEnvOrDie(); in ~AudioTrackCallbackImpl() local 134 auto env = getJNIEnvOrDie(); in postEvent() local 185 static const Ids &getIds(JNIEnv *env) { in getIds() 193 TunerConfigurationHelper(JNIEnv *env, jobject tunerConfiguration) in TunerConfigurationHelper() 209 static void initCheckOrDie(JNIEnv *env) { (void)getIds(env); } in initCheckOrDie() 231 sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) { in getAudioTrack() 238 sp<AudioTrack> android_media_AudioTrack_getAudioTrack(JNIEnv* env, jobject audioTrackObj) { in android_media_AudioTrack_getAudioTrack() 243 static jint android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, in android_media_AudioTrack_setup() 503 android_media_AudioTrack_is_direct_output_supported(JNIEnv *env, jobject thiz, in android_media_AudioTrack_is_direct_output_supported() [all …]
|
D | android_media_audio_common_AidlConversion.cpp | 66 int aidl2legacy(JNIEnv* env, AidlType aidl, const ConvFunc& conv, LegacyType fallbackValue) { in aidl2legacy() 79 int legacy2aidl(JNIEnv* env, LegacyType legacy, const ConvFunc& conv, AidlType fallbackValue) { in legacy2aidl() 91 int aidlParcel2legacy(JNIEnv* env, jobject jParcel, const ConvFunc& conv, int fallbackValue) { in aidlParcel2legacy() 112 jobject legacy2aidlParcel(JNIEnv* env, LegacyType legacy, const ConvFunc& conv) { in legacy2aidlParcel() 139 int aidl2legacy_AudioChannelLayout_Parcel_audio_channel_mask_t(JNIEnv* env, jobject, in aidl2legacy_AudioChannelLayout_Parcel_audio_channel_mask_t() 150 JNIEnv* env, jobject, int /*audio_channel_mask_t*/ legacy, jboolean isInput) { in legacy2aidl_audio_channel_mask_t_AudioChannelLayout_Parcel() 157 int aidl2legacy_AudioFormatDescription_Parcel_audio_format_t(JNIEnv* env, jobject, in aidl2legacy_AudioFormatDescription_Parcel_audio_format_t() 164 jobject legacy2aidl_audio_format_t_AudioFormatDescription_Parcel(JNIEnv* env, jobject, in legacy2aidl_audio_format_t_AudioFormatDescription_Parcel() 170 jint aidl2legacy_AudioEncapsulationMode_audio_encapsulation_mode_t(JNIEnv* env, jobject, in aidl2legacy_AudioEncapsulationMode_audio_encapsulation_mode_t() 177 jint legacy2aidl_audio_encapsulation_mode_t_AudioEncapsulationMode(JNIEnv* env, jobject, in legacy2aidl_audio_encapsulation_mode_t_AudioEncapsulationMode() [all …]
|
D | android_os_VintfObject.cpp | 59 static std::string runCmd(JNIEnv* env, const char* cmd) { in runCmd() 86 static std::shared_ptr<const HalManifest> getDeviceHalManifest(JNIEnv* env) { in getDeviceHalManifest() 90 static std::shared_ptr<const HalManifest> getFrameworkHalManifest(JNIEnv* env) { in getFrameworkHalManifest() 94 static std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix(JNIEnv* env) { in getDeviceCompatibilityMatrix() 98 static std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix(JNIEnv* env) { in getFrameworkCompatibilityMatrix() 103 static inline jobjectArray toJavaStringArray(JNIEnv* env, const V& v) { in toJavaStringArray() 134 static jobjectArray android_os_VintfObject_report(JNIEnv* env, jclass) in android_os_VintfObject_report() 159 static jobjectArray android_os_VintfObject_getHalNamesAndVersions(JNIEnv* env, jclass) { in android_os_VintfObject_getHalNamesAndVersions() 166 static jstring android_os_VintfObject_getSepolicyVersion(JNIEnv* env, jclass) { in android_os_VintfObject_getSepolicyVersion() 176 static jstring android_os_VintfObject_getPlatformSepolicyVersion(JNIEnv* env, jclass) { in android_os_VintfObject_getPlatformSepolicyVersion() [all …]
|
D | android_database_SQLiteRawStatement.cpp | 61 static void throwInvalidParameter(JNIEnv *env, jlong stmtPtr, jint index) { in throwInvalidParameter() 76 static void throwIfInvalidColumn(JNIEnv *env, jlong stmtPtr, jint col) { in throwIfInvalidColumn() 87 static bool throwIfError(JNIEnv *env, jlong stmtPtr) { in throwIfError() 97 static jint bindParameterCount(JNIEnv* env, jclass, jlong stmtPtr) { in bindParameterCount() 102 static jint bindParameterIndex(JNIEnv *env, jclass, jlong stmtPtr, jstring jname) { in bindParameterIndex() 119 static jstring bindParameterName(JNIEnv *env, jclass, jlong stmtPtr, jint param) { in bindParameterName() 127 static jint columnCount(JNIEnv* env, jclass, jlong stmtPtr) { in columnCount() 134 static jint step(JNIEnv* env, jclass, jlong stmtPtr, jboolean throwOnError) { in step() 162 static void bindBlob(JNIEnv* env, jclass obj, jlong stmtPtr, jint index, jbyteArray val, in bindBlob() 177 static void bindDouble(JNIEnv* env, jclass, jlong stmtPtr, jint index, jdouble val) { in bindDouble() [all …]
|
D | android_media_ToneGenerator.cpp | 41 static sp<ToneGenerator> getNativeToneGenerator(JNIEnv *env, jobject thiz) { in getNativeToneGenerator() 51 static sp<ToneGenerator> setNativeToneGenerator(JNIEnv *env, jobject thiz, in setNativeToneGenerator() 67 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, in android_media_ToneGenerator_startTone() 76 static void android_media_ToneGenerator_stopTone(JNIEnv *env, jobject thiz) { in android_media_ToneGenerator_stopTone() 82 static jint android_media_ToneGenerator_getAudioSessionId(JNIEnv *env, jobject thiz) { in android_media_ToneGenerator_getAudioSessionId() 88 static void android_media_ToneGenerator_release(JNIEnv *env, jobject thiz) { in android_media_ToneGenerator_release() 93 static void android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, jint streamType, in android_media_ToneGenerator_native_setup() 110 static void android_media_ToneGenerator_native_finalize(JNIEnv *env, jobject thiz) { in android_media_ToneGenerator_native_finalize() 126 int register_android_media_ToneGenerator(JNIEnv *env) { in register_android_media_ToneGenerator()
|
D | android_hardware_UsbDeviceConnection.cpp | 40 struct usb_device* get_device_from_object(JNIEnv* env, jobject connection) in get_device_from_object() 46 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, in android_hardware_UsbDeviceConnection_open() 69 android_hardware_UsbDeviceConnection_close(JNIEnv *env, jobject thiz) in android_hardware_UsbDeviceConnection_close() 80 android_hardware_UsbDeviceConnection_get_fd(JNIEnv *env, jobject thiz) in android_hardware_UsbDeviceConnection_get_fd() 91 android_hardware_UsbDeviceConnection_get_desc(JNIEnv *env, jobject thiz) in android_hardware_UsbDeviceConnection_get_desc() 98 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, in android_hardware_UsbDeviceConnection_claim_interface() 117 android_hardware_UsbDeviceConnection_release_interface(JNIEnv *env, jobject thiz, jint interfaceID) in android_hardware_UsbDeviceConnection_release_interface() 133 android_hardware_UsbDeviceConnection_set_interface(JNIEnv *env, jobject thiz, jint interfaceID, in android_hardware_UsbDeviceConnection_set_interface() 146 android_hardware_UsbDeviceConnection_set_configuration(JNIEnv *env, jobject thiz, jint configuratio… in android_hardware_UsbDeviceConnection_set_configuration() 158 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, in android_hardware_UsbDeviceConnection_control_request() [all …]
|
D | android_view_Surface.cpp | 99 bool android_view_Surface_isInstanceOf(JNIEnv* env, jobject obj) { in android_view_Surface_isInstanceOf() 103 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow() 107 sp<Surface> android_view_Surface_getSurface(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getSurface() 120 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface() 135 jobject android_view_Surface_createFromIGraphicBufferProducer(JNIEnv* env, in android_view_Surface_createFromIGraphicBufferProducer() 154 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, in nativeCreateFromSurfaceTexture() 174 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease() 179 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid() 184 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind() 196 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, in nativeLockCanvas() [all …]
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_native_program.cpp | 30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_allocate() 35 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_deallocate() 39 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_NativeProgram_nativeInit() 44 jboolean Java_android_filterfw_core_NativeProgram_openNativeLibrary(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_openNativeLibrary() 51 jboolean Java_android_filterfw_core_NativeProgram_bindInitFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindInitFunction() 58 jboolean Java_android_filterfw_core_NativeProgram_bindSetValueFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindSetValueFunction() 67 jboolean Java_android_filterfw_core_NativeProgram_bindGetValueFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindGetValueFunction() 76 jboolean Java_android_filterfw_core_NativeProgram_bindProcessFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindProcessFunction() 83 jboolean Java_android_filterfw_core_NativeProgram_bindResetFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindResetFunction() 92 jboolean Java_android_filterfw_core_NativeProgram_bindTeardownFunction(JNIEnv* env, in Java_android_filterfw_core_NativeProgram_bindTeardownFunction() [all …]
|
D | jni_gl_frame.cpp | 44 jboolean Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocate() 58 jboolean Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture() 73 jboolean Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo() 88 jboolean Java_android_filterfw_core_GLFrame_nativeAllocateExternal(JNIEnv* env, in Java_android_filterfw_core_GLFrame_nativeAllocateExternal() 100 jboolean Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLFrame_nativeDeallocate() 104 jboolean Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeData() 121 jbyteArray Java_android_filterfw_core_GLFrame_getNativeData(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLFrame_getNativeData() 133 jboolean Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeInts() 150 jintArray Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLFrame_getNativeInts() 162 jboolean Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, in Java_android_filterfw_core_GLFrame_setNativeFloats() [all …]
|
D | jni_gl_environment.cpp | 65 jboolean Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeAllocate() 70 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeDeallocate() 74 jboolean Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, in Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext() 80 jboolean Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, in Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext() 86 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeIsActive() 91 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeIsContextActive() 101 jboolean Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeActivate() 106 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeDeactivate() 111 jboolean Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz) { in Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers() 117 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject jmediarecorder) { in getMediaRecorder() [all …]
|
/frameworks/base/core/jni/include/android_runtime/ |
D | Log.h | 27 #define LOG_EX(env, priority, tag, ...) \ argument 29 #define LOGV_EX(env, ...) LOG_EX(env, LOG_VERBOSE, LOG_TAG, ##__VA_ARGS__) argument 30 #define LOGD_EX(env, ...) LOG_EX(env, LOG_DEBUG, LOG_TAG, ##__VA_ARGS__) argument 31 #define LOGI_EX(env, ...) LOG_EX(env, LOG_INFO, LOG_TAG, ##__VA_ARGS__) argument 32 #define LOGW_EX(env, ...) LOG_EX(env, LOG_WARN, LOG_TAG, ##__VA_ARGS__) argument 33 #define LOGE_EX(env, ...) LOG_EX(env, LOG_ERROR, LOG_TAG, ##__VA_ARGS__) argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_soundtrigger_middleware_ExternalCaptureStateTracker.cpp | 35 void PopulateIds(JNIEnv* env) { in PopulateIds() 50 Listener(JNIEnv* env, jobject obj) : mObj(env->NewGlobalRef(obj)) {} in Listener() 53 JNIEnv* env = AndroidRuntime::getJNIEnv(); in ~Listener() local 58 JNIEnv* env = AndroidRuntime::getJNIEnv(); in onStateChanged() local 63 JNIEnv* env = AndroidRuntime::getJNIEnv(); in onServiceDied() local 71 void connect(JNIEnv* env, jobject obj) { in connect() 85 JNIEnv* env) { in register_com_android_server_soundtrigger_middleware_ExternalCaptureStateTracker()
|