OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 LoadClass(jni, "org/webrtc/CameraEnumerationAndroid"); | 78 LoadClass(jni, "org/webrtc/CameraEnumerationAndroid"); |
79 LoadClass(jni, "org/webrtc/VideoCapturerAndroid"); | 79 LoadClass(jni, "org/webrtc/VideoCapturerAndroid"); |
80 LoadClass(jni, "org/webrtc/VideoCapturerAndroid$NativeObserver"); | 80 LoadClass(jni, "org/webrtc/VideoCapturerAndroid$NativeObserver"); |
81 LoadClass(jni, "org/webrtc/EglBase"); | 81 LoadClass(jni, "org/webrtc/EglBase"); |
82 LoadClass(jni, "org/webrtc/NetworkMonitor"); | 82 LoadClass(jni, "org/webrtc/NetworkMonitor"); |
83 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); | 83 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); |
84 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); | 84 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); |
85 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); | 85 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); |
86 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); | 86 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); |
87 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); | 87 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); |
88 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedByteBuffer"); | 88 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer"); |
89 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); | 89 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); |
90 LoadClass(jni, "org/webrtc/SurfaceTextureHelper"); | 90 LoadClass(jni, "org/webrtc/SurfaceTextureHelper"); |
91 #endif | 91 #endif |
92 LoadClass(jni, "org/webrtc/MediaSource$State"); | 92 LoadClass(jni, "org/webrtc/MediaSource$State"); |
93 LoadClass(jni, "org/webrtc/MediaStream"); | 93 LoadClass(jni, "org/webrtc/MediaStream"); |
94 LoadClass(jni, "org/webrtc/MediaStreamTrack$State"); | 94 LoadClass(jni, "org/webrtc/MediaStreamTrack$State"); |
95 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); | 95 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); |
96 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); | 96 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); |
97 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); | 97 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); |
98 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); | 98 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 RTC_CHECK(inserted) << "Duplicate class name: " << name; | 142 RTC_CHECK(inserted) << "Duplicate class name: " << name; |
143 } | 143 } |
144 | 144 |
145 // Returns a global reference guaranteed to be valid for the lifetime of the | 145 // Returns a global reference guaranteed to be valid for the lifetime of the |
146 // process. | 146 // process. |
147 jclass FindClass(JNIEnv* jni, const char* name) { | 147 jclass FindClass(JNIEnv* jni, const char* name) { |
148 return g_class_reference_holder->GetClass(name); | 148 return g_class_reference_holder->GetClass(name); |
149 } | 149 } |
150 | 150 |
151 } // namespace webrtc_jni | 151 } // namespace webrtc_jni |
OLD | NEW |