Remove old presumably unused directory.
BUG=None Review-Url: https://codereview.webrtc.org/2378103002 Cr-Commit-Position: refs/heads/master@{#14437}
This commit is contained in:
parent
8e6a76194d
commit
70736e4c9d
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>AudioDeviceAndroidTest</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" package="org.webrtc.voiceengine.test">
|
||||
<application android:icon="@drawable/icon"
|
||||
android:label="@string/app_name"
|
||||
android:debuggable="true">
|
||||
<activity android:label="@string/app_name"
|
||||
android:name="AudioDeviceAndroidTest">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
<uses-sdk android:minSdkVersion="3"></uses-sdk>
|
||||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS">
|
||||
</uses-permission>
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO">
|
||||
</uses-permission>
|
||||
</manifest>
|
||||
@ -1,11 +0,0 @@
|
||||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system use,
|
||||
# "build.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
|
||||
# Project target.
|
||||
target=android-3
|
||||
@ -1,26 +0,0 @@
|
||||
/* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*
|
||||
* This class was automatically generated by the
|
||||
* aapt tool from the resource data it found. It
|
||||
* should not be modified by hand.
|
||||
*/
|
||||
|
||||
package org.webrtc.voiceengine.test;
|
||||
|
||||
public final class R {
|
||||
public static final class attr {
|
||||
}
|
||||
public static final class drawable {
|
||||
public static final int icon=0x7f020000;
|
||||
}
|
||||
public static final class id {
|
||||
public static final int Button01=0x7f050000;
|
||||
}
|
||||
public static final class layout {
|
||||
public static final int main=0x7f030000;
|
||||
}
|
||||
public static final class string {
|
||||
public static final int app_name=0x7f040000;
|
||||
public static final int run_button=0x7f040001;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 KiB |
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<Button android:text="@string/run_button"
|
||||
android:id="@+id/Button01"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
</Button>
|
||||
</LinearLayout>
|
||||
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">WebRTC Audio Device Android Test</string>
|
||||
<string name="run_button">Run Test</string>
|
||||
</resources>
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../../source/android/org/webrtc/voiceengine/AudioDeviceAndroid.java
|
||||
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user