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

Unified Diff: webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/test/AudioDeviceAndroidTest.java

Issue 2378103002: Remove old presumably unused directory. (Closed)
Patch Set: Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/test/AudioDeviceAndroidTest.java
diff --git a/webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/test/AudioDeviceAndroidTest.java b/webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/test/AudioDeviceAndroidTest.java
deleted file mode 100644
index b87af46a62f8af21d4189f7a2b6cfd4256ebecf4..0000000000000000000000000000000000000000
--- a/webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/test/AudioDeviceAndroidTest.java
+++ /dev/null
@@ -1,69 +0,0 @@
-package org.webrtc.voiceengine.test;
-
-import android.app.Activity;
-import android.media.AudioManager;
-import android.os.Bundle;
-import android.util.Log;
-import android.view.View;
-import android.widget.Button;
-
-public class AudioDeviceAndroidTest extends Activity {
- private Thread _testThread;
-
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
-
- final Button buttonStart = (Button) findViewById(R.id.Button01);
- // buttonStart.setWidth(200);
- // button.layout(50, 50, 100, 40);
- buttonStart.setOnClickListener(new View.OnClickListener() {
- public void onClick(View v) {
- _testThread = new Thread(_testProc);
- _testThread.start();
- }
- });
-
- // Suggest to use the voice call audio stream for hardware volume
- // controls
- setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);
-
- DoLog("Started WebRTC Android ADM Test");
- }
-
- private Runnable _testProc = new Runnable() {
- public void run() {
- // TODO(xians), choose test from GUI
- // Select test here, 0 for API test, 1-> for Func tests
- RunTest(5);
- }
- };
-
- private void DoLog(String msg) {
- Log.d("*WebRTC ADM*", msg);
- }
-
- // //////////////// Native function prototypes ////////////////////
-
- // Init wrapper
- private native static boolean NativeInit();
-
- // Function used to call test
- private native int RunTest(int testType);
-
- // Load native library
- static {
- Log.d("*WebRTC ADM*", "Loading audio_device_android_test...");
- System.loadLibrary("audio_device_android_test");
-
- Log.d("*WebRTC ADM*", "Calling native init...");
- if (!NativeInit()) {
- Log.e("*WebRTC ADM*", "Native init failed");
- throw new RuntimeException("Native init failed");
- } else {
- Log.d("*WebRTC ADM*", "Native init successful");
- }
- }
-}
« no previous file with comments | « webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/AudioDeviceAndroid.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698