Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: webrtc/modules/audio_device/android/audio_device_unittest.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 10 matching lines...) Expand all
21 #include "webrtc/base/criticalsection.h" 21 #include "webrtc/base/criticalsection.h"
22 #include "webrtc/base/format_macros.h" 22 #include "webrtc/base/format_macros.h"
23 #include "webrtc/base/scoped_ptr.h" 23 #include "webrtc/base/scoped_ptr.h"
24 #include "webrtc/base/scoped_ref_ptr.h" 24 #include "webrtc/base/scoped_ref_ptr.h"
25 #include "webrtc/modules/audio_device/android/audio_common.h" 25 #include "webrtc/modules/audio_device/android/audio_common.h"
26 #include "webrtc/modules/audio_device/android/audio_manager.h" 26 #include "webrtc/modules/audio_device/android/audio_manager.h"
27 #include "webrtc/modules/audio_device/android/build_info.h" 27 #include "webrtc/modules/audio_device/android/build_info.h"
28 #include "webrtc/modules/audio_device/android/ensure_initialized.h" 28 #include "webrtc/modules/audio_device/android/ensure_initialized.h"
29 #include "webrtc/modules/audio_device/audio_device_impl.h" 29 #include "webrtc/modules/audio_device/audio_device_impl.h"
30 #include "webrtc/modules/audio_device/include/audio_device.h" 30 #include "webrtc/modules/audio_device/include/audio_device.h"
31 #include "webrtc/system_wrappers/interface/clock.h" 31 #include "webrtc/system_wrappers/include/clock.h"
32 #include "webrtc/system_wrappers/interface/event_wrapper.h" 32 #include "webrtc/system_wrappers/include/event_wrapper.h"
33 #include "webrtc/system_wrappers/interface/sleep.h" 33 #include "webrtc/system_wrappers/include/sleep.h"
34 #include "webrtc/test/testsupport/fileutils.h" 34 #include "webrtc/test/testsupport/fileutils.h"
35 35
36 using std::cout; 36 using std::cout;
37 using std::endl; 37 using std::endl;
38 using ::testing::_; 38 using ::testing::_;
39 using ::testing::AtLeast; 39 using ::testing::AtLeast;
40 using ::testing::Gt; 40 using ::testing::Gt;
41 using ::testing::Invoke; 41 using ::testing::Invoke;
42 using ::testing::NiceMock; 42 using ::testing::NiceMock;
43 using ::testing::NotNull; 43 using ::testing::NotNull;
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 StopPlayout(); 1009 StopPlayout();
1010 StopRecording(); 1010 StopRecording();
1011 // Verify that the correct number of transmitted impulses are detected. 1011 // Verify that the correct number of transmitted impulses are detected.
1012 EXPECT_EQ(latency_audio_stream->num_latency_values(), 1012 EXPECT_EQ(latency_audio_stream->num_latency_values(),
1013 static_cast<size_t>( 1013 static_cast<size_t>(
1014 kImpulseFrequencyInHz * kMeasureLatencyTimeInSec - 1)); 1014 kImpulseFrequencyInHz * kMeasureLatencyTimeInSec - 1));
1015 latency_audio_stream->PrintResults(); 1015 latency_audio_stream->PrintResults();
1016 } 1016 }
1017 1017
1018 } // namespace webrtc 1018 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/android/audio_device_template.h ('k') | webrtc/modules/audio_device/audio_device_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698