| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 #include "webrtc/api/android/jni/classreferenceholder.h" | 10 #include "webrtc/api/android/jni/classreferenceholder.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); | 62 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); |
| 63 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); | 63 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); |
| 64 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); | 64 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); |
| 65 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); | 65 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); |
| 66 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); | 66 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); |
| 67 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer"); | 67 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer"); |
| 68 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); | 68 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); |
| 69 LoadClass(jni, "org/webrtc/MediaSource$State"); | 69 LoadClass(jni, "org/webrtc/MediaSource$State"); |
| 70 LoadClass(jni, "org/webrtc/MediaStream"); | 70 LoadClass(jni, "org/webrtc/MediaStream"); |
| 71 LoadClass(jni, "org/webrtc/MediaStreamTrack$State"); | 71 LoadClass(jni, "org/webrtc/MediaStreamTrack$State"); |
| 72 LoadClass(jni, "org/webrtc/Metrics"); |
| 73 LoadClass(jni, "org/webrtc/Metrics$HistogramInfo"); |
| 72 LoadClass(jni, "org/webrtc/NetworkMonitor"); | 74 LoadClass(jni, "org/webrtc/NetworkMonitor"); |
| 73 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$ConnectionType"); | 75 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$ConnectionType"); |
| 74 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$IPAddress"); | 76 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$IPAddress"); |
| 75 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$NetworkInformation"); | 77 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$NetworkInformation"); |
| 76 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); | 78 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); |
| 77 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); | 79 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); |
| 78 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); | 80 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); |
| 79 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); | 81 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); |
| 80 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState"); | 82 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState"); |
| 81 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState"); | 83 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState"); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 RTC_CHECK(inserted) << "Duplicate class name: " << name; | 127 RTC_CHECK(inserted) << "Duplicate class name: " << name; |
| 126 } | 128 } |
| 127 | 129 |
| 128 // Returns a global reference guaranteed to be valid for the lifetime of the | 130 // Returns a global reference guaranteed to be valid for the lifetime of the |
| 129 // process. | 131 // process. |
| 130 jclass FindClass(JNIEnv* jni, const char* name) { | 132 jclass FindClass(JNIEnv* jni, const char* name) { |
| 131 return g_class_reference_holder->GetClass(name); | 133 return g_class_reference_holder->GetClass(name); |
| 132 } | 134 } |
| 133 | 135 |
| 134 } // namespace webrtc_jni | 136 } // namespace webrtc_jni |
| OLD | NEW |