| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "webrtc/base/timeutils.h" | 24 #include "webrtc/base/timeutils.h" |
| 25 #include "webrtc/modules/audio_device/audio_device_impl.h" | 25 #include "webrtc/modules/audio_device/audio_device_impl.h" |
| 26 #include "webrtc/modules/audio_device/include/audio_device.h" | 26 #include "webrtc/modules/audio_device/include/audio_device.h" |
| 27 #include "webrtc/modules/audio_device/include/mock_audio_transport.h" | 27 #include "webrtc/modules/audio_device/include/mock_audio_transport.h" |
| 28 #include "webrtc/modules/audio_device/ios/audio_device_ios.h" | 28 #include "webrtc/modules/audio_device/ios/audio_device_ios.h" |
| 29 #include "webrtc/system_wrappers/include/event_wrapper.h" | 29 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 30 #include "webrtc/test/gmock.h" | 30 #include "webrtc/test/gmock.h" |
| 31 #include "webrtc/test/gtest.h" | 31 #include "webrtc/test/gtest.h" |
| 32 #include "webrtc/test/testsupport/fileutils.h" | 32 #include "webrtc/test/testsupport/fileutils.h" |
| 33 | 33 |
| 34 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" | 34 #import "webrtc/sdk/objc/Framework/Classes/Audio/RTCAudioSession+Private.h" |
| 35 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession+Private.h" | 35 #import "webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSession.h" |
| 36 | 36 |
| 37 using std::cout; | 37 using std::cout; |
| 38 using std::endl; | 38 using std::endl; |
| 39 using ::testing::_; | 39 using ::testing::_; |
| 40 using ::testing::AtLeast; | 40 using ::testing::AtLeast; |
| 41 using ::testing::Gt; | 41 using ::testing::Gt; |
| 42 using ::testing::Invoke; | 42 using ::testing::Invoke; |
| 43 using ::testing::NiceMock; | 43 using ::testing::NiceMock; |
| 44 using ::testing::NotNull; | 44 using ::testing::NotNull; |
| 45 using ::testing::Return; | 45 using ::testing::Return; |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 // Wait for notification to propagate. | 870 // Wait for notification to propagate. |
| 871 rtc::MessageQueueManager::ProcessAllMessageQueues(); | 871 rtc::MessageQueueManager::ProcessAllMessageQueues(); |
| 872 EXPECT_TRUE(audio_device->is_interrupted_); | 872 EXPECT_TRUE(audio_device->is_interrupted_); |
| 873 | 873 |
| 874 audio_device->Init(); | 874 audio_device->Init(); |
| 875 audio_device->InitPlayout(); | 875 audio_device->InitPlayout(); |
| 876 EXPECT_FALSE(audio_device->is_interrupted_); | 876 EXPECT_FALSE(audio_device->is_interrupted_); |
| 877 } | 877 } |
| 878 | 878 |
| 879 } // namespace webrtc | 879 } // namespace webrtc |
| OLD | NEW |