| 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/jni_helpers.h" | 10 #include "webrtc/sdk/android/src/jni/jni_helpers.h" |
| 11 | 11 |
| 12 #include "webrtc/api/android/jni/classreferenceholder.h" | 12 #include "webrtc/sdk/android/src/jni/classreferenceholder.h" |
| 13 | 13 |
| 14 #include <asm/unistd.h> | 14 #include <asm/unistd.h> |
| 15 #include <sys/prctl.h> | 15 #include <sys/prctl.h> |
| 16 #include <sys/syscall.h> | 16 #include <sys/syscall.h> |
| 17 #include <unistd.h> | 17 #include <unistd.h> |
| 18 | 18 |
| 19 namespace webrtc_jni { | 19 namespace webrtc_jni { |
| 20 | 20 |
| 21 static JavaVM* g_jvm = nullptr; | 21 static JavaVM* g_jvm = nullptr; |
| 22 | 22 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 RTC_CHECK(!AtEnd()); | 341 RTC_CHECK(!AtEnd()); |
| 342 return value_; | 342 return value_; |
| 343 } | 343 } |
| 344 | 344 |
| 345 bool Iterable::Iterator::AtEnd() const { | 345 bool Iterable::Iterator::AtEnd() const { |
| 346 RTC_CHECK(thread_checker_.CalledOnValidThread()); | 346 RTC_CHECK(thread_checker_.CalledOnValidThread()); |
| 347 return jni_ == nullptr || IsNull(jni_, iterator_); | 347 return jni_ == nullptr || IsNull(jni_, iterator_); |
| 348 } | 348 } |
| 349 | 349 |
| 350 } // namespace webrtc_jni | 350 } // namespace webrtc_jni |
| OLD | NEW |