| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdint.h> |
| 6 |
| 5 #include "base/android/build_info.h" | 7 #include "base/android/build_info.h" |
| 6 #include "base/bind.h" | 8 #include "base/bind.h" |
| 7 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 10 #include "base/path_service.h" | 13 #include "base/path_service.h" |
| 11 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
| 12 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
| 13 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
| 14 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 15 #include "base/test/test_timeouts.h" | 18 #include "base/test/test_timeouts.h" |
| 16 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 17 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 950 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(20)); | 953 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(20)); |
| 951 printf("\n"); | 954 printf("\n"); |
| 952 StopAndCloseAudioOutputStreamOnAudioThread(); | 955 StopAndCloseAudioOutputStreamOnAudioThread(); |
| 953 StopAndCloseAudioInputStreamOnAudioThread(); | 956 StopAndCloseAudioInputStreamOnAudioThread(); |
| 954 } | 957 } |
| 955 | 958 |
| 956 INSTANTIATE_TEST_CASE_P(AudioAndroidInputTest, AudioAndroidInputTest, | 959 INSTANTIATE_TEST_CASE_P(AudioAndroidInputTest, AudioAndroidInputTest, |
| 957 testing::ValuesIn(RunAudioRecordInputPathTests())); | 960 testing::ValuesIn(RunAudioRecordInputPathTests())); |
| 958 | 961 |
| 959 } // namespace media | 962 } // namespace media |
| OLD | NEW |