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/sdk/android/src/jni/classreferenceholder.h" | 10 #include "webrtc/sdk/android/src/jni/classreferenceholder.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$IPAddress"); | 75 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$IPAddress"); |
76 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$NetworkInformation"); | 76 LoadClass(jni, "org/webrtc/NetworkMonitorAutoDetect$NetworkInformation"); |
77 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); | 77 LoadClass(jni, "org/webrtc/PeerConnectionFactory"); |
78 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); | 78 LoadClass(jni, "org/webrtc/PeerConnection$BundlePolicy"); |
79 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); | 79 LoadClass(jni, "org/webrtc/PeerConnection$ContinualGatheringPolicy"); |
80 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); | 80 LoadClass(jni, "org/webrtc/PeerConnection$RtcpMuxPolicy"); |
81 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState"); | 81 LoadClass(jni, "org/webrtc/PeerConnection$IceConnectionState"); |
82 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState"); | 82 LoadClass(jni, "org/webrtc/PeerConnection$IceGatheringState"); |
83 LoadClass(jni, "org/webrtc/PeerConnection$IceTransportsType"); | 83 LoadClass(jni, "org/webrtc/PeerConnection$IceTransportsType"); |
84 LoadClass(jni, "org/webrtc/PeerConnection$TcpCandidatePolicy"); | 84 LoadClass(jni, "org/webrtc/PeerConnection$TcpCandidatePolicy"); |
| 85 LoadClass(jni, "org/webrtc/PeerConnection$TlsCertPolicy"); |
85 LoadClass(jni, "org/webrtc/PeerConnection$CandidateNetworkPolicy"); | 86 LoadClass(jni, "org/webrtc/PeerConnection$CandidateNetworkPolicy"); |
86 LoadClass(jni, "org/webrtc/PeerConnection$KeyType"); | 87 LoadClass(jni, "org/webrtc/PeerConnection$KeyType"); |
87 LoadClass(jni, "org/webrtc/PeerConnection$SignalingState"); | 88 LoadClass(jni, "org/webrtc/PeerConnection$SignalingState"); |
88 LoadClass(jni, "org/webrtc/RtpReceiver"); | 89 LoadClass(jni, "org/webrtc/RtpReceiver"); |
89 LoadClass(jni, "org/webrtc/RtpSender"); | 90 LoadClass(jni, "org/webrtc/RtpSender"); |
90 LoadClass(jni, "org/webrtc/SessionDescription"); | 91 LoadClass(jni, "org/webrtc/SessionDescription"); |
91 LoadClass(jni, "org/webrtc/SessionDescription$Type"); | 92 LoadClass(jni, "org/webrtc/SessionDescription$Type"); |
92 LoadClass(jni, "org/webrtc/StatsReport"); | 93 LoadClass(jni, "org/webrtc/StatsReport"); |
93 LoadClass(jni, "org/webrtc/StatsReport$Value"); | 94 LoadClass(jni, "org/webrtc/StatsReport$Value"); |
94 LoadClass(jni, "org/webrtc/SurfaceTextureHelper"); | 95 LoadClass(jni, "org/webrtc/SurfaceTextureHelper"); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 RTC_CHECK(inserted) << "Duplicate class name: " << name; | 127 RTC_CHECK(inserted) << "Duplicate class name: " << name; |
127 } | 128 } |
128 | 129 |
129 // 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 |
130 // process. | 131 // process. |
131 jclass FindClass(JNIEnv* jni, const char* name) { | 132 jclass FindClass(JNIEnv* jni, const char* name) { |
132 return g_class_reference_holder->GetClass(name); | 133 return g_class_reference_holder->GetClass(name); |
133 } | 134 } |
134 | 135 |
135 } // namespace webrtc_jni | 136 } // namespace webrtc_jni |
OLD | NEW |