forked from NetEase/Emmagee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 30217d8
Showing
35 changed files
with
1,771 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.netease.qa.emmagee" | ||
android:versionCode="1" | ||
android:versionName="1.0" > | ||
|
||
<uses-sdk android:minSdkVersion="7" /> | ||
<application android:name=".utils.MyApplication" | ||
android:icon="@drawable/icon" | ||
android:label="@string/app_name" > | ||
<activity | ||
android:name=".activity.MainPageActivity" | ||
android:label="@string/app_name" | ||
android:configChanges="orientation|keyboardHidden"> <!-- 防止程序横屏以后重新启动 --> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<!-- <category android:name="android.intent.category.DEFAULT" /> --> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity | ||
android:name=".activity.SystemActivity" | ||
android:label="@string/app_name2" > | ||
</activity> | ||
|
||
<activity | ||
android:name=".activity.SettingsActivity" | ||
android:label="@string/app_name4" > | ||
</activity> | ||
|
||
<service | ||
android:name="com.netease.qa.emmagee.service.EmmageeService"> | ||
</service> | ||
</application> | ||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> | ||
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_LOGS"/> | ||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> | ||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> | ||
<uses-permission android:name="android.permission.WAKE_LOCK"/> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Emmagee - a pratical,convenient perfomance test tools in android | ||
============================================ | ||
Homepage: http://netease.github.com/projectname (项目相关链接,紧接详细介绍之后,没有的项可以不写) | ||
Mailing list: https://groups.google.com/group/projectname | ||
Documentation: http://projectname.readthedocs.org | ||
Wiki: https://github.com/netease/projectname/wiki/ | ||
Issues: https://github.com/netease/projectname/issues/ | ||
Tags: Android,Java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project | ||
name="execute Orange on Jenkins" | ||
basedir="." | ||
default="doxygen" > | ||
|
||
<path id="cpath" > | ||
|
||
<fileset dir="libs" > | ||
|
||
<include name="*.jar" /> | ||
|
||
<include name="**/*.jar" /> | ||
</fileset> | ||
</path> | ||
|
||
|
||
<!-- doxygen in Linux --> | ||
<taskdef name="doxygen" classname="org.doxygen.tools.DoxygenTask" classpath="libs/ant_doxygen.jar"/> | ||
<target name="doxygen"> | ||
<delete dir="doxygen" /> | ||
<mkdir dir="doxygen" /> | ||
<doxygen> | ||
<property name="PROJECT_NAME" value="Emmagee" /> | ||
<property name="PROJECT_NUMBER" value="0.1.0" /> | ||
<property name="OUTPUT_DIRECTORY" value="doxygen" /> | ||
<property name="JAVADOC_AUTOBRIEF" value="YES" /> | ||
<property name="TAB_SIZE" value="4" /> | ||
<property name="OPTIMIZE_OUTPUT_JAVA" value="YES" /> | ||
<property name="INPUT" value="src" /> | ||
<property name="RECURSIVE" value="YES" /> | ||
<property name="HAVE_DOT" value="YES" /> | ||
<property name="UML_LOOK" value="YES" /> | ||
<property name="CLASS_GRAPH" value="NO" /> | ||
<property name="COLLABORATION_GRAPH" value="NO" /> | ||
<property name="GROUP_GRAPHS" value="YES" /> | ||
<property name="DIRECTORY_GRAPH" value="YES" /> | ||
<property name="SHOW_DIRECTORIES" value="YES" /> | ||
<property name="SOURCE_BROWSER" value="YES" /> | ||
<property name="STRIP_CODE_COMMENTS" value="NO" /> | ||
<property name="GENERATE_LATEX" value="NO" /> | ||
<property name="GENERATE_TREEVIEW" value="YES" /> | ||
<property name="INPUT_ENCODING" value="utf-8" /> | ||
<property name="DOXYFILE" value="utf-8" /> | ||
<property name="OUTPUT_LANGUAGE" value="CHINESE" /> | ||
<property name="SEARCHENGINE" value="YES" /> | ||
<property name="SHOW_NAMESPACES" value="NO" /> | ||
</doxygen> | ||
</target> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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, | ||
# "ant.properties", and override values to adapt the script to your | ||
# project structure. | ||
|
||
# Project target. | ||
target=android-10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:id="@+id/cpu_info" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" /> | ||
<Button | ||
android:id="@+id/b" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/bg"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="horizontal" > | ||
|
||
<RadioButton | ||
android:id="@+id/rb" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<ImageView | ||
android:id="@+id/image" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginRight="10dip" /> | ||
|
||
<TextView | ||
android:id="@+id/text" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:gravity="bottom|center_horizontal|center_vertical" | ||
android:orientation="vertical" > | ||
|
||
<ListView | ||
android:id="@+id/processList" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
|
||
<LinearLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="78dp" | ||
android:layout_marginBottom="10dp" | ||
android:gravity="center_horizontal|center_vertical" | ||
android:orientation="horizontal" > | ||
|
||
<Button | ||
android:id="@+id/test" | ||
android:layout_width="200dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="6dp" | ||
android:gravity="center_horizontal" | ||
android:text="@string/bg" /> | ||
</LinearLayout> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" > | ||
|
||
<LinearLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/collect" /> | ||
|
||
<!-- 允许输入数据为正整数 --> | ||
<!-- android:numeric="integer" --> | ||
|
||
<!--采集频率 --> | ||
<EditText | ||
android:id="@+id/time" | ||
android:layout_width="120dp" | ||
android:maxLength="5" | ||
android:layout_height="wrap_content" /> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/seconds" /> | ||
</LinearLayout> | ||
|
||
<RelativeLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" > | ||
|
||
<TextView | ||
android:id="@+id/floating_Window" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/window" /> | ||
|
||
<CheckBox | ||
android:id="@+id/floating" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" /> | ||
</RelativeLayout> | ||
|
||
<RelativeLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" > | ||
|
||
<ScrollView | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:scrollbars="vertical" > | ||
</ScrollView> | ||
|
||
<Button | ||
android:id="@+id/save" | ||
android:layout_width="200dp" | ||
android:gravity="center_horizontal" | ||
android:layout_height="wrap_content" | ||
android:layout_centerHorizontal="true" | ||
android:layout_alignParentBottom="true" | ||
android:text="@string/ok" /> | ||
</RelativeLayout> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:id="@+id/cpu1" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" /> | ||
<TextView | ||
android:id="@+id/cpu2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<string name="hello">Hello World, RunningTaskActivity!</string> | ||
<string name="app_name">Emmagee</string> | ||
<string name="app_name1">Main</string> | ||
<string name="app_name2">系统信息</string> | ||
<string name="app_name3">测试</string> | ||
<string name="app_name4">设置</string> | ||
<string name="system">检测系统信息</string> | ||
<string name="start">启动程序</string> | ||
<string name="cpu">开始测试</string> | ||
<string name="bg">开始测试</string> | ||
<string name="testmemory">测试内存</string> | ||
<string name="memoryinfo">memoryInfo</string> | ||
<string name="collect">采集频率:</string> | ||
<string name="seconds"> 秒</string> | ||
<string name="window"> 是否显示浮窗</string> | ||
<string name="ok">保存</string> | ||
<string name="openwifi">开启wifi</string> | ||
<string name="closewifi">关闭wifi</string> | ||
|
||
</resources> |
Oops, something went wrong.