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/java/jni/classreferenceholder.h" | 10 #include "webrtc/api/java/jni/classreferenceholder.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 LoadClass(jni, "org/webrtc/CameraEnumerator"); | 51 LoadClass(jni, "org/webrtc/CameraEnumerator"); |
52 LoadClass(jni, "org/webrtc/Camera2Enumerator"); | 52 LoadClass(jni, "org/webrtc/Camera2Enumerator"); |
53 LoadClass(jni, "org/webrtc/CameraEnumerationAndroid"); | 53 LoadClass(jni, "org/webrtc/CameraEnumerationAndroid"); |
54 LoadClass(jni, "org/webrtc/DataChannel"); | 54 LoadClass(jni, "org/webrtc/DataChannel"); |
55 LoadClass(jni, "org/webrtc/DataChannel$Buffer"); | 55 LoadClass(jni, "org/webrtc/DataChannel$Buffer"); |
56 LoadClass(jni, "org/webrtc/DataChannel$Init"); | 56 LoadClass(jni, "org/webrtc/DataChannel$Init"); |
57 LoadClass(jni, "org/webrtc/DataChannel$State"); | 57 LoadClass(jni, "org/webrtc/DataChannel$State"); |
58 LoadClass(jni, "org/webrtc/EglBase"); | 58 LoadClass(jni, "org/webrtc/EglBase"); |
59 LoadClass(jni, "org/webrtc/EglBase$Context"); | 59 LoadClass(jni, "org/webrtc/EglBase$Context"); |
60 LoadClass(jni, "org/webrtc/EglBase14$Context"); | 60 LoadClass(jni, "org/webrtc/EglBase14$Context"); |
| 61 LoadClass(jni, "org/webrtc/Histograms"); |
| 62 LoadClass(jni, "org/webrtc/Histograms$HistogramInfo"); |
61 LoadClass(jni, "org/webrtc/IceCandidate"); | 63 LoadClass(jni, "org/webrtc/IceCandidate"); |
62 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); | 64 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder"); |
63 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); | 65 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$OutputBufferInfo"); |
64 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); | 66 LoadClass(jni, "org/webrtc/MediaCodecVideoEncoder$VideoCodecType"); |
65 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); | 67 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder"); |
66 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); | 68 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedTextureBuffer"); |
67 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer"); | 69 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$DecodedOutputBuffer"); |
68 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); | 70 LoadClass(jni, "org/webrtc/MediaCodecVideoDecoder$VideoCodecType"); |
69 LoadClass(jni, "org/webrtc/MediaSource$State"); | 71 LoadClass(jni, "org/webrtc/MediaSource$State"); |
70 LoadClass(jni, "org/webrtc/MediaStream"); | 72 LoadClass(jni, "org/webrtc/MediaStream"); |
(...skipping 54 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 |