├── LICENSE.txt ├── README.md ├── WeTestAssist ├── app │ ├── build.gradle │ ├── libs │ │ ├── RootTools-3.4.jar │ │ ├── gson-2.3.1.jar │ │ └── jg_filter_sdk_1.0.jar │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── assets_for_L │ │ │ ├── inject │ │ │ └── wetested │ │ ├── inject │ │ └── wetested │ │ ├── java │ │ └── com │ │ │ └── tencent │ │ │ └── wetest │ │ │ ├── activity │ │ │ ├── AppListActivity.java │ │ │ ├── DataDetailActivity.java │ │ │ ├── LoadingActivity.java │ │ │ ├── MainActivity.java │ │ │ └── TestResultsActivity.java │ │ │ ├── common │ │ │ ├── adapter │ │ │ │ ├── AppListAdapter.java │ │ │ │ ├── LogListAdapter.java │ │ │ │ └── TabAdapter.java │ │ │ ├── application │ │ │ │ └── WTApplication.java │ │ │ ├── log │ │ │ │ └── Logger.java │ │ │ ├── manager │ │ │ │ ├── ApkManager.java │ │ │ │ ├── FPSManager.java │ │ │ │ ├── NetWorkManager.java │ │ │ │ ├── ProcParamManager.java │ │ │ │ ├── ProcStatusManager.java │ │ │ │ └── SystemBarTintManager.java │ │ │ ├── model │ │ │ │ ├── APPInfo.java │ │ │ │ ├── ApkInfo.java │ │ │ │ ├── FPSInfo.java │ │ │ │ ├── JsonResult.java │ │ │ │ ├── LogGroup.java │ │ │ │ ├── LogItem.java │ │ │ │ ├── ProcMemInfo.java │ │ │ │ ├── Report.java │ │ │ │ ├── ReportData.java │ │ │ │ ├── SceneInfo.java │ │ │ │ └── TestRecord.java │ │ │ └── util │ │ │ │ ├── ConstantUtil.java │ │ │ │ ├── CurrentUtil.java │ │ │ │ ├── DeviceUtil.java │ │ │ │ ├── ReportUtil.java │ │ │ │ ├── SuUtil.java │ │ │ │ └── ToolUtil.java │ │ │ ├── fragment │ │ │ ├── HomePageFragment.java │ │ │ └── LogPageFragment.java │ │ │ └── service │ │ │ ├── FloatExitService.java │ │ │ ├── FloatViewService.java │ │ │ ├── IService.java │ │ │ └── StasticService.java │ │ ├── jni │ │ ├── Android.mk │ │ ├── Application.mk │ │ ├── ProcMemory.cpp │ │ ├── ProcMemory.h │ │ ├── ProcStatus.cpp │ │ ├── ProcStatus.h │ │ ├── Test.cpp │ │ ├── WeTestForAndroid.cpp │ │ ├── install.mk │ │ ├── main.cpp │ │ └── wtmain.cpp │ │ ├── logo-web.png │ │ └── res │ │ ├── anim │ │ ├── finger_scale.xml │ │ ├── itlogin_fade_enter.xml │ │ ├── itlogin_fade_exit.xml │ │ ├── itlogin_push_enter.xml │ │ ├── itlogin_push_exit.xml │ │ ├── reverse_anim.xml │ │ └── rotating.xml │ │ ├── color │ │ ├── button_color_action.xml │ │ ├── button_exit_color_action.xml │ │ └── ctr_btn_color_action.xml │ │ ├── drawable-hdpi │ │ ├── ic_dialog_alert.png │ │ ├── ic_dialog_long_click.png │ │ └── test.png │ │ ├── drawable-xhdpi │ │ ├── capture.9.png │ │ ├── itlogin_account.png │ │ ├── itlogin_blue_button_normal.png │ │ ├── itlogin_blue_button_press.9.png │ │ ├── itlogin_frame.9.png │ │ ├── itlogin_green_button_normal.png │ │ ├── itlogin_green_button_press.9.png │ │ ├── itlogin_iconlogin.png │ │ ├── itlogin_password.png │ │ ├── itlogin_switch_keyboard.png │ │ ├── itlogin_tencentlogo.png │ │ ├── itlogin_white_button_normal.9.png │ │ ├── itlogin_white_button_press.9.png │ │ ├── qr_code_bg.9.png │ │ ├── scan_line.png │ │ ├── scan_mask.png │ │ ├── screenshot.png │ │ └── shadow.png │ │ ├── drawable │ │ ├── a.jpg │ │ ├── about_icon.png │ │ ├── about_logo.png │ │ ├── alert.png │ │ ├── b.jpg │ │ ├── back.png │ │ ├── bg_capture.png │ │ ├── bottom.png │ │ ├── bottomlandscape.png │ │ ├── btn_ctr_edit.png │ │ ├── btn_ctr_normal.png │ │ ├── clear.png │ │ ├── code_td.png │ │ ├── ctr_back.png │ │ ├── ctr_hide.png │ │ ├── ctr_home.png │ │ ├── ctr_menu.png │ │ ├── ctr_show.png │ │ ├── ctr_vir_btn_action.xml │ │ ├── drawer_head.png │ │ ├── exit.png │ │ ├── feedback.png │ │ ├── float_bk.png │ │ ├── float_exit.png │ │ ├── float_scene_close.png │ │ ├── float_scene_start.png │ │ ├── float_time.png │ │ ├── float_window.png │ │ ├── flow_close.png │ │ ├── flow_ctr.png │ │ ├── flow_ctr_start.png │ │ ├── flow_expand.png │ │ ├── flow_expand2.png │ │ ├── flow_hide.png │ │ ├── flow_hide_fps.png │ │ ├── flow_menu.9.png │ │ ├── guide_finger.png │ │ ├── head_default.png │ │ ├── ic_mail_white_24dp.png │ │ ├── imgae_shape.xml │ │ ├── itlogin_login_bg.xml │ │ ├── itlogin_ssologin_bg.xml │ │ ├── itlogin_ssologin_intokenview_bg.xml │ │ ├── left_btn_action.xml │ │ ├── left_btn_bk.png │ │ ├── logo.png │ │ ├── logout.png │ │ ├── mainbk.png │ │ ├── message.png │ │ ├── msg.png │ │ ├── onekeycommit.png │ │ ├── p7_setting.png │ │ ├── per_logo.png │ │ ├── per_title.png │ │ ├── proj_title.png │ │ ├── proj_title_list.9.png │ │ ├── qq_login_icon.png │ │ ├── recommand.png │ │ ├── remote_logo.png │ │ ├── remote_title.png │ │ ├── right_ctr.png │ │ ├── rtx_login_icon.png │ │ ├── select_app_title.png │ │ ├── select_float_win_right_p8.png │ │ ├── select_win_manager_p8.png │ │ ├── selector_center_button.xml │ │ ├── selector_login_button.xml │ │ ├── selector_test_start_button.xml │ │ ├── set_win_manager.png │ │ ├── setting.png │ │ ├── temp_a.jpg │ │ ├── temp_b.jpg │ │ └── win_manager.png │ │ ├── layout │ │ ├── activity_about.xml │ │ ├── activity_app_list.xml │ │ ├── activity_capture.xml │ │ ├── activity_code_page.xml │ │ ├── activity_controller.xml │ │ ├── activity_ctr_main.xml │ │ ├── activity_data_detail.xml │ │ ├── activity_feedback.xml │ │ ├── activity_float_win_open.xml │ │ ├── activity_help.xml │ │ ├── activity_hwfloat_win_open.xml │ │ ├── activity_loading.xml │ │ ├── activity_log_detail.xml │ │ ├── activity_main.xml │ │ ├── activity_qr_scan.xml │ │ ├── activity_rapid_fab.xml │ │ ├── activity_recommand.xml │ │ ├── activity_test_results.xml │ │ ├── activity_web_oalogin.xml │ │ ├── activity_web_qqlogin.xml │ │ ├── activity_wtmain.xml │ │ ├── app_list_item.xml │ │ ├── ctr_tool.xml │ │ ├── float_capture.xml │ │ ├── float_ctr_exit.xml │ │ ├── float_exit.xml │ │ ├── floating.xml │ │ ├── floating_ctr.xml │ │ ├── fps_window.xml │ │ ├── fragment_recycler_list_view.xml │ │ ├── home.xml │ │ ├── item_title.xml │ │ ├── list_item.xml │ │ ├── list_item_layout.xml │ │ ├── load_more.xml │ │ ├── loading.xml │ │ ├── log.xml │ │ ├── log_item_content.xml │ │ ├── log_item_title.xml │ │ ├── msg_item.xml │ │ ├── navigation_content.xml │ │ ├── navigation_header.xml │ │ ├── per_main_layout.xml │ │ ├── pro_loading_bar.xml │ │ ├── proj_list.xml │ │ ├── refresh_head.xml │ │ ├── row_layout.xml │ │ ├── scene.xml │ │ ├── setting_toolbar.xml │ │ ├── site.xml │ │ ├── spiner_item_layout.xml │ │ └── task_progress_dialog.xml │ │ ├── menu │ │ ├── drawer_view.xml │ │ ├── menu_about.xml │ │ ├── menu_app_list.xml │ │ ├── menu_cap.xml │ │ ├── menu_code_page.xml │ │ ├── menu_ctr.xml │ │ ├── menu_data_detail.xml │ │ ├── menu_feedback.xml │ │ ├── menu_float_win_open.xml │ │ ├── menu_help.xml │ │ ├── menu_hwfloat_win_open.xml │ │ ├── menu_loading.xml │ │ ├── menu_log_detail.xml │ │ ├── menu_login_actvity.xml │ │ ├── menu_main.xml │ │ ├── menu_message.xml │ │ ├── menu_msg_detail.xml │ │ ├── menu_rapid_fab.xml │ │ ├── menu_recommand.xml │ │ ├── menu_refresh.xml │ │ ├── menu_test_results.xml │ │ ├── menu_web_oalogin.xml │ │ ├── menu_web_qqlogin.xml │ │ └── menu_wtmain.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── raw │ │ └── beep.ogg │ │ ├── values-v21 │ │ └── dimens.xml │ │ ├── values-w820dp │ │ └── dimens.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── ids.xml │ │ ├── strings.xml │ │ ├── strings_activity_login.xml │ │ ├── strings_activity_settings.xml │ │ └── styles.xml │ │ └── xml │ │ ├── pref_data_sync.xml │ │ ├── pref_headers.xml │ │ ├── pref_notification.xml │ │ ├── pref_other.xml │ │ └── pref_setting.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle └── WeTestForIOS ├── WeTestForIOS ├── WeTest │ ├── APPListViewController.h │ ├── APPListViewController.m │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── Main.storyboard │ ├── Constants.h │ ├── Constants.m │ ├── DataDetailViewController.h │ ├── DataDetailViewController.m │ ├── IStudy-Prefix.pch │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Logo120x120.png │ │ │ └── Logo180x180.png │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── InfoViewController.m │ ├── LoadingViewController.h │ ├── LoadingViewController.m │ ├── LogListViewController.h │ ├── LogListViewController.m │ ├── MenuListController.h │ ├── MenuListController.m │ ├── TestResultViewController.h │ ├── TestResultViewController.m │ ├── ViewController.h │ ├── ViewController.m │ ├── WeTestForIOS-Info.plist │ ├── WeTestForIOS-Prefix.pch │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── main.m │ ├── model │ │ ├── APPInfo.h │ │ ├── APPInfo.m │ │ ├── APPUtil.h │ │ ├── APPUtil.m │ │ ├── CHKeychain.h │ │ ├── CHKeychain.m │ │ ├── JsonResult.h │ │ ├── JsonResult.m │ │ ├── LogInfo.h │ │ ├── LogInfo.m │ │ ├── LogTableViewCell.h │ │ ├── LogTableViewCell.m │ │ ├── ReportData.h │ │ └── ReportData.m │ └── resource │ │ ├── Bulletin.m4r │ │ ├── about_icon.png │ │ ├── about_logo.png │ │ ├── app_select.png │ │ ├── btn_bk.png │ │ ├── center_tag.png │ │ ├── index_logo.png │ │ ├── log_logo.png │ │ ├── logo.png │ │ ├── mainbk.png │ │ ├── mainlogo.png │ │ ├── menu_bk.png │ │ ├── menu_tab_bk.png │ │ ├── para_cpu.png │ │ ├── para_mem.png │ │ ├── para_net.png │ │ ├── per_tag.png │ │ ├── res_name.png │ │ ├── res_proj.png │ │ ├── res_tester.png │ │ ├── res_time.png │ │ ├── res_title.png │ │ └── test_start.png ├── WeTestForIOS.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ ├── caorobin.xcuserdatad │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── vivi.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ ├── caorobin.xcuserdatad │ │ ├── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ │ ├── IStudy.xcscheme │ │ │ ├── InstaEmail.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── vivi.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ ├── InstaEmail.xcscheme │ │ ├── WeTestForIOS.xcscheme │ │ └── xcschememanagement.plist └── entitlements.xml ├── gen_entitlements.py └── pack for deb └── DEBIAN ├── control └── icon.png /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/README.md -------------------------------------------------------------------------------- /WeTestAssist/app/libs/RootTools-3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/libs/RootTools-3.4.jar -------------------------------------------------------------------------------- /WeTestAssist/app/libs/gson-2.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/libs/gson-2.3.1.jar -------------------------------------------------------------------------------- /WeTestAssist/app/libs/jg_filter_sdk_1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/libs/jg_filter_sdk_1.0.jar -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/assets/assets_for_L/inject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/assets/assets_for_L/inject -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/assets/assets_for_L/wetested: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/assets/assets_for_L/wetested -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/assets/inject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/assets/inject -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/assets/wetested: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/assets/wetested -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/adapter/AppListAdapter.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | package com.tencent.wetest.common.adapter; 17 | 18 | import android.content.Context; 19 | import android.graphics.drawable.Drawable; 20 | import android.view.LayoutInflater; 21 | import android.view.View; 22 | import android.view.ViewGroup; 23 | import android.widget.ArrayAdapter; 24 | import android.widget.ImageView; 25 | import android.widget.TextView; 26 | 27 | import com.tencent.wefpmonitor.R; 28 | import com.tencent.wetest.common.log.Logger; 29 | import com.tencent.wetest.common.model.APPInfo; 30 | import com.tencent.wetest.common.util.ToolUtil; 31 | 32 | import java.util.List; 33 | 34 | 35 | public class AppListAdapter extends ArrayAdapter { 36 | 37 | private int resource; 38 | 39 | public AppListAdapter(Context context, int resourceId, List objects) { 40 | super(context, resourceId, objects); 41 | 42 | resource = resourceId; 43 | } 44 | 45 | 46 | public View getView(int position,View convertView,ViewGroup parent){ 47 | 48 | if(convertView == null) { 49 | 50 | LayoutInflater inflater = (LayoutInflater)getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE); 51 | convertView = inflater.inflate(resource, null); 52 | } 53 | 54 | ImageView view = (ImageView) convertView.findViewById(R.id.icon); 55 | view.setImageBitmap(ToolUtil.getRoundedCornerBitmap(ToolUtil.drawableToBitmap(this.getItem(position).getIcon()) , 10.0f)); 56 | 57 | TextView appName = (TextView) convertView.findViewById(R.id.appName); 58 | appName.setText(this.getItem(position).getAppName()); 59 | TextView pkgName = (TextView) convertView.findViewById(R.id.packageName); 60 | pkgName.setText( this.getItem(position).getPackageName() ); 61 | 62 | // TextView status = (TextView) mView.findViewById(R.id.status); 63 | // status.setText(this.getItem(getIsTop())); 64 | 65 | return convertView; 66 | } 67 | 68 | public void setViewImage(ImageView v, Drawable value){ 69 | v.setImageDrawable(value); 70 | } 71 | } -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/adapter/TabAdapter.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.adapter; 18 | 19 | import android.support.v4.app.Fragment; 20 | import android.support.v4.app.FragmentManager; 21 | import android.support.v4.app.FragmentPagerAdapter; 22 | import android.view.ViewGroup; 23 | 24 | import java.util.List; 25 | 26 | public class TabAdapter extends FragmentPagerAdapter { 27 | 28 | private List mList; 29 | public TabAdapter(FragmentManager fm , List list) { 30 | super(fm); 31 | mList = list; 32 | 33 | } 34 | 35 | @Override 36 | public Fragment getItem(int position) { 37 | return mList.get(position); 38 | } 39 | 40 | @Override 41 | public int getCount() { 42 | return mList.size(); 43 | } 44 | 45 | @Override 46 | public void destroyItem(ViewGroup container, int position, Object object) { 47 | 48 | super.destroyItem(container, position, object); 49 | 50 | } 51 | } -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/log/Logger.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.log; 18 | 19 | import android.util.Log; 20 | 21 | /** 22 | * 统一LOG显示内容 23 | * 24 | */ 25 | public final class Logger { 26 | protected static String tag = "wetest"; 27 | 28 | public static void info(String t){ 29 | Log.i(tag, t); 30 | } 31 | 32 | public static void error(String t){ 33 | Log.e(tag, t); 34 | } 35 | 36 | public static void error(String t, Throwable e){ 37 | Log.e(tag, t, e); 38 | } 39 | 40 | public static void debug(String t){ 41 | Log.d(tag, t); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/manager/FPSManager.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.manager; 18 | 19 | public class FPSManager { 20 | 21 | static{ 22 | System.loadLibrary("WeTestForAndroid"); 23 | } 24 | 25 | public static int injectFps(){ 26 | 27 | return injectNFps(); 28 | 29 | } 30 | 31 | public static native int injectNFps(); 32 | 33 | public static int disinjectFps(){ 34 | 35 | return disinjectNFps(); 36 | 37 | } 38 | 39 | private static native int disinjectNFps(); 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/APPInfo.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | import android.graphics.drawable.Drawable; 20 | 21 | import java.text.Collator; 22 | 23 | public class APPInfo implements Comparable{ 24 | 25 | private String packageName; 26 | private CharSequence appName; 27 | private Drawable icon; 28 | 29 | public String getPackageName() { 30 | return packageName; 31 | } 32 | 33 | public void setPackageName(String packageName) { 34 | this.packageName = packageName; 35 | } 36 | 37 | public CharSequence getAppName() { 38 | return appName; 39 | } 40 | 41 | public void setAppName(CharSequence appName) { 42 | this.appName = appName; 43 | } 44 | 45 | public Drawable getIcon() { 46 | return icon; 47 | } 48 | 49 | public void setIcon(Drawable icon) { 50 | this.icon = icon; 51 | } 52 | 53 | 54 | 55 | @Override 56 | public int compareTo(Object another) { 57 | 58 | return Collator.getInstance(java.util.Locale.CHINA).compare(appName.toString() , ((APPInfo)another).getAppName().toString()); 59 | 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/ApkInfo.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | import android.graphics.drawable.Drawable; 20 | 21 | 22 | public class ApkInfo { 23 | 24 | private String appname; 25 | private String packagename; 26 | private String versionName; 27 | 28 | private Drawable appic ; 29 | 30 | 31 | public String getAppname() { 32 | return appname; 33 | } 34 | public void setAppname(String appname) { 35 | this.appname = appname; 36 | } 37 | public Drawable getAppic() { 38 | return appic; 39 | } 40 | public void setAppic(Drawable appic) { 41 | this.appic = appic; 42 | } 43 | public String getPackagename() { 44 | return packagename; 45 | } 46 | public void setPackagename(String packagename) { 47 | this.packagename = packagename; 48 | } 49 | public String getVersionName() { 50 | return versionName; 51 | } 52 | public void setVersionName(String versionName) { 53 | this.versionName = versionName; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/FPSInfo.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | 20 | public class FPSInfo { 21 | 22 | private int fps; 23 | private long time; 24 | private int type; 25 | 26 | 27 | public int getFps() { 28 | return fps; 29 | } 30 | public void setFps(int fps) { 31 | this.fps = fps; 32 | } 33 | 34 | public long getTime() { 35 | return time; 36 | } 37 | public void setTime(long time) { 38 | this.time = time; 39 | } 40 | 41 | public int getType() { 42 | return type; 43 | } 44 | public void setType(int type) { 45 | this.type = type; 46 | } 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/LogGroup.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | import java.util.List; 20 | 21 | public class LogGroup { 22 | 23 | private String groupName; 24 | private List groupChild; 25 | 26 | public LogGroup() { 27 | super(); 28 | } 29 | 30 | public LogGroup(String groupName, List groupChild) { 31 | super(); 32 | this.groupName = groupName; 33 | this.groupChild = groupChild; 34 | } 35 | 36 | public void add(LogItem u) { 37 | groupChild.add(u); 38 | } 39 | 40 | public void remove(LogItem u) { 41 | groupChild.remove(u); 42 | } 43 | 44 | public void remove(int index) { 45 | groupChild.remove(index); 46 | } 47 | 48 | public int getChildSize() { 49 | return groupChild.size(); 50 | } 51 | 52 | public LogItem getChild(int index) { 53 | return index <= (groupChild.size()-1) ? groupChild.get(index) : null; 54 | } 55 | 56 | 57 | public String getGroupName() { 58 | return groupName; 59 | } 60 | 61 | public void setGroupName(String groupName) { 62 | this.groupName = groupName; 63 | } 64 | 65 | public List getGroupChild() { 66 | return groupChild; 67 | } 68 | 69 | public void setGroupChild(List groupChild) { 70 | this.groupChild = groupChild; 71 | } 72 | 73 | } 74 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/LogItem.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | 20 | import android.graphics.drawable.Drawable; 21 | 22 | public class LogItem { 23 | 24 | 25 | private String time; 26 | private String appname; 27 | private Drawable img; 28 | private String filename; 29 | 30 | public String getTime() { 31 | return time; 32 | } 33 | public void setTime(String time) { 34 | this.time = time; 35 | } 36 | public String getAppname() { 37 | return appname; 38 | } 39 | public void setAppname(String appname) { 40 | this.appname = appname; 41 | } 42 | public Drawable getImg() { 43 | return img; 44 | } 45 | public void setImg(Drawable img) { 46 | this.img = img; 47 | } 48 | public String getFilename() { 49 | return filename; 50 | } 51 | public void setFilename(String filename) { 52 | this.filename = filename; 53 | } 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/ProcMemInfo.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | import org.json.JSONArray; 20 | 21 | /** 22 | * 内存信息 23 | * vss rss pss uss 需root后获取 24 | * 25 | */ 26 | public class ProcMemInfo { 27 | 28 | /** 29 | * vss : Virtual Set Size 虚拟耗用内存(包含共享库占用的内存) 30 | * rss : Resident Set Size 实际使用物理内存(包含共享库占用的内存) 31 | * pss : Proportional Set Size 实际使用的物理内存(比例分配共享库占用的内存) 32 | * uss : Unique Set Size 进程独自占用的物理内存(不包含共享库占用的内存) 33 | */ 34 | private String vss; 35 | private String rss; 36 | private String pss; 37 | private String uss; 38 | 39 | 40 | /** 41 | * natived : 进程所占native内存 42 | * dalvik : 进程所占dalvik内存 43 | * total : total 44 | */ 45 | private int natived; 46 | private int dalvik; 47 | private int total; 48 | 49 | /** 50 | * fps : 屏幕刷新率 51 | */ 52 | private int fps; 53 | 54 | 55 | /** 56 | * getter setter 方法 57 | * 58 | */ 59 | public String getVss() { 60 | return vss; 61 | } 62 | public void setVss(String vss) { 63 | this.vss = vss; 64 | } 65 | public String getRss() { 66 | return rss; 67 | } 68 | public void setRss(String rss) { 69 | this.rss = rss; 70 | } 71 | public String getPss() { 72 | return pss; 73 | } 74 | public void setPss(String pss) { 75 | this.pss = pss; 76 | } 77 | public String getUss() { 78 | return uss; 79 | } 80 | public void setUss(String uss) { 81 | this.uss = uss; 82 | } 83 | public int getNatived() { 84 | return natived; 85 | } 86 | public void setNatived(int natived) { 87 | this.natived = natived; 88 | } 89 | public int getDalvik() { 90 | return dalvik; 91 | } 92 | public void setDalvik(int dalvik) { 93 | this.dalvik = dalvik; 94 | } 95 | public int getTotal() { 96 | return total; 97 | } 98 | public void setTotal(int total) { 99 | this.total = total; 100 | } 101 | public int getFps() { 102 | return fps; 103 | } 104 | public void setFps(int fps) { 105 | this.fps = fps; 106 | } 107 | 108 | 109 | } 110 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/SceneInfo.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | /** 20 | * 记录当前场景信息 21 | * 22 | */ 23 | public class SceneInfo { 24 | 25 | private String startTagName; 26 | private long startTagTime; 27 | private String endTagName; 28 | private long endTagTime; 29 | 30 | 31 | public String getStartTagName() { 32 | return startTagName; 33 | } 34 | public void setStartTagName(String startTagName) { 35 | this.startTagName = startTagName; 36 | } 37 | public long getStartTagTime() { 38 | return startTagTime; 39 | } 40 | public void setStartTagTime(long startTagTime) { 41 | this.startTagTime = startTagTime; 42 | } 43 | public String getEndTagName() { 44 | return endTagName; 45 | } 46 | public void setEndTagName(String endTagName) { 47 | this.endTagName = endTagName; 48 | } 49 | public long getEndTagTime() { 50 | return endTagTime; 51 | } 52 | public void setEndTagTime(long endTagTime) { 53 | this.endTagTime = endTagTime; 54 | } 55 | 56 | 57 | } 58 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/model/TestRecord.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.model; 18 | 19 | /** 20 | * 测试记录总体信息 21 | * 22 | * 包括测试时间、应用包名等 23 | */ 24 | public class TestRecord { 25 | 26 | private String logfile; 27 | private String saveTime; 28 | private String appName; 29 | private String packageName; 30 | private String testTime; 31 | private String timeStart; 32 | private String timeEnd; 33 | private String versionName; 34 | private int rootTag; 35 | 36 | 37 | /** 38 | * getter setter 方法 39 | * 40 | */ 41 | 42 | public String getLogfile() { 43 | return logfile; 44 | } 45 | public void setLogfile(String logfile) { 46 | this.logfile = logfile; 47 | } 48 | public String getSaveTime() { 49 | return saveTime; 50 | } 51 | public void setSaveTime(String saveTime) { 52 | this.saveTime = saveTime; 53 | } 54 | public String getAppName() { 55 | return appName; 56 | } 57 | public void setAppName(String appName) { 58 | this.appName = appName; 59 | } 60 | public String getPackageName() { 61 | return packageName; 62 | } 63 | public void setPackageName(String packageName) { 64 | this.packageName = packageName; 65 | } 66 | public String getTestTime() { 67 | return testTime; 68 | } 69 | public void setTestTime(String testTime) { 70 | this.testTime = testTime; 71 | } 72 | public String getTimeStart() { 73 | return timeStart; 74 | } 75 | public void setTimeStart(String timeStart) { 76 | this.timeStart = timeStart; 77 | } 78 | public String getTimeEnd() { 79 | return timeEnd; 80 | } 81 | public void setTimeEnd(String timeEnd) { 82 | this.timeEnd = timeEnd; 83 | } 84 | public String getVersionName() { 85 | return versionName; 86 | } 87 | public void setVersionName(String versionName) { 88 | this.versionName = versionName; 89 | } 90 | public int getRootTag() { 91 | return rootTag; 92 | } 93 | public void setRootTag(int rootTag) { 94 | this.rootTag = rootTag; 95 | } 96 | 97 | } 98 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/common/util/ConstantUtil.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.common.util; 18 | 19 | /** 20 | * 常量类 21 | * 22 | */ 23 | public class ConstantUtil { 24 | 25 | public static final int UPDATE_MAINPAGE = 1001; 26 | public static final int UPDATE_LOGPAGE = 1002; 27 | 28 | } 29 | 30 | 31 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/java/com/tencent/wetest/service/IService.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | * 4 | * Licensed under the MIT License (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://opensource.org/licenses/MIT 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | 17 | package com.tencent.wetest.service; 18 | 19 | public interface IService 20 | { 21 | public void invokeServiceMethod(); 22 | 23 | } -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | APP_STL := stlport_static 6 | APP_STL := gnustl_static 7 | LOCAL_C_INCLUDES:= $(ANDROID_NDK)/sources/cxx-stl/stlport/stlport/ $(LOCAL_PATH)/../ 8 | 9 | #LOCAL_CERTIFICATE := platform 10 | 11 | 12 | LOCAL_MODULE := WeTestForAndroid 13 | LOCAL_SRC_FILES := \ 14 | WeTestForAndroid.cpp\ 15 | ProcStatus.cpp 16 | 17 | LOCAL_SHARED_LIBRARIES := libcutils liblog 18 | LOCAL_LDLIBS := -llog 19 | #LOCAL_ALLOW_UNDEFINED_SYMBOLS := true 20 | include $(BUILD_SHARED_LIBRARY) 21 | 22 | include $(CLEAR_VARS) 23 | 24 | 25 | APP_STL := stlport_static 26 | APP_STL := gnustl_static 27 | LOCAL_C_INCLUDES := \$(ANDROID_NDK)/sources/cxx-stl/stlport/stlport/ $(LOCAL_PATH)/../ 28 | 29 | LOCAL_SHARED_LIBRARIES := libcutils liblog 30 | 31 | #LOCAL_CFLAGS := -pie -fPIE 32 | #LOCAL_LDFLAGS := -pie -fPIE 33 | LOCAL_MODULE := wetested 34 | LOCAL_SRC_FILES := \ 35 | ProcMemory.cpp\ 36 | wtmain.cpp 37 | #LocalServer.cpp 38 | #main.cpp 39 | 40 | 41 | LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog 42 | #LOCAL_ALLOW_UNDEFINED_SYMBOLS := true 43 | 44 | include $(BUILD_EXECUTABLE) 45 | 46 | 47 | include $(CLEAR_VARS) 48 | 49 | APP_STL := stlport_static 50 | APP_STL := gnustl_static 51 | LOCAL_C_INCLUDES := \$(ANDROID_NDK)/sources/cxx-stl/stlport/stlport/ $(LOCAL_PATH)/../ 52 | 53 | 54 | LOCAL_SHARED_LIBRARIES := libcutils liblog 55 | 56 | 57 | LOCAL_CFLAGS := -pie -fPIE 58 | LOCAL_LDFLAGS := -pie -fPIE 59 | LOCAL_MODULE := wetestedL 60 | LOCAL_SRC_FILES := \ 61 | ProcMemory.cpp\ 62 | wtmain.cpp 63 | #LocalServer.cpp 64 | #main.cpp 65 | 66 | 67 | LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog 68 | #LOCAL_ALLOW_UNDEFINED_SYMBOLS := true 69 | 70 | include $(BUILD_EXECUTABLE) 71 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_ABI := armeabi armeabi-v7a x86 3 | APP_PLATFORM := android-5 -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/ProcMemory.h: -------------------------------------------------------------------------------- 1 | #ifndef _MEM_INFO_H_ 2 | #define _MEM_INFO_H_ 3 | 4 | #include 5 | 6 | struct pm_memusage_t 7 | { 8 | size_t vss; 9 | size_t rss; 10 | size_t pss; 11 | size_t uss; 12 | size_t native; 13 | size_t dalvik; 14 | size_t total; 15 | }; 16 | 17 | struct pm_kernel_t 18 | { 19 | int kpagecount_fd; 20 | int pagesize; 21 | }; 22 | 23 | struct pm_map_t 24 | { 25 | unsigned long start; 26 | unsigned long end; 27 | unsigned long offset; 28 | int flags; 29 | //string name; 30 | }; 31 | 32 | class ProcMemory 33 | { 34 | public: 35 | ProcMemory(); 36 | ~ProcMemory(); 37 | int GetMemory(int pid, pm_memusage_t* pUsage); 38 | private: 39 | int GetProcMem(int pid); 40 | int GetMapUsage(pm_map_t* map); 41 | int GetMapPageMap(pm_map_t *map, uint64_t **pagemap_out, size_t *len); 42 | int GetKernelCount(unsigned long pfn, uint64_t *count_out); 43 | int DumpMemInfo(int pid); 44 | int GetMemInfo(int pid); 45 | private: 46 | int m_iPid; 47 | int m_iPageMapFd; 48 | pm_kernel_t m_stKernel; 49 | pm_memusage_t m_stUsage; 50 | }; 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/ProcStatus.h: -------------------------------------------------------------------------------- 1 | #ifndef _PROC_STATUS_H_ 2 | #define _PROC_STATUS_H_ 3 | #include 4 | #include 5 | 6 | class ProcStatus 7 | { 8 | public: 9 | ProcStatus(); 10 | ~ProcStatus(); 11 | 12 | public: 13 | long GetTotalCpuTime(); 14 | long GetProcessCpuTime(int pid); 15 | long GetBatteryCurrent(); 16 | int GetNetworkUsage(int uid, uint32_t* netin, uint32_t* netout); 17 | }; 18 | 19 | FILE* mypopen(const char *program, const char *type); 20 | int mypclose(FILE *iop); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/Test.cpp: -------------------------------------------------------------------------------- 1 | #include "test.h" 2 | Test::Test() 3 | { 4 | } 5 | 6 | Test::~Test() 7 | { 8 | } 9 | 10 | int Test::getPid() 11 | { 12 | 13 | m_iPid = 3; 14 | return m_iPid; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/install.mk: -------------------------------------------------------------------------------- 1 | 2 | all: 3 | copy ..\obj\local\armeabi\wetestd ..\assets\wetestd 4 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/jni/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/jni/main.cpp -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/logo-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/logo-web.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/finger_scale.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 16 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/itlogin_fade_enter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/itlogin_fade_exit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/itlogin_push_enter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/itlogin_push_exit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/reverse_anim.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/anim/rotating.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/color/button_color_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/color/button_exit_color_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | " 6 | 7 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/color/ctr_btn_color_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-hdpi/ic_dialog_alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-hdpi/ic_dialog_alert.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-hdpi/ic_dialog_long_click.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-hdpi/ic_dialog_long_click.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-hdpi/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-hdpi/test.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/capture.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/capture.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_account.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_blue_button_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_blue_button_normal.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_blue_button_press.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_blue_button_press.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_frame.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_frame.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_green_button_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_green_button_normal.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_green_button_press.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_green_button_press.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_iconlogin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_iconlogin.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_password.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_switch_keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_switch_keyboard.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_tencentlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_tencentlogo.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_white_button_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_white_button_normal.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_white_button_press.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/itlogin_white_button_press.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/qr_code_bg.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/qr_code_bg.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/scan_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/scan_line.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/scan_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/scan_mask.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/screenshot.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable-xhdpi/shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable-xhdpi/shadow.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/a.jpg -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/about_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/about_icon.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/about_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/about_logo.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/alert.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/b.jpg -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/back.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/bg_capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/bg_capture.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/bottom.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/bottomlandscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/bottomlandscape.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/btn_ctr_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/btn_ctr_edit.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/btn_ctr_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/btn_ctr_normal.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/clear.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/code_td.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/code_td.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ctr_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/ctr_back.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ctr_hide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/ctr_hide.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ctr_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/ctr_home.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ctr_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/ctr_menu.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ctr_show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/ctr_show.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ctr_vir_btn_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/drawer_head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/drawer_head.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/exit.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/feedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/feedback.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/float_bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/float_bk.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/float_exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/float_exit.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/float_scene_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/float_scene_close.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/float_scene_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/float_scene_start.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/float_time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/float_time.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/float_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/float_window.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_close.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_ctr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_ctr.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_ctr_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_ctr_start.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_expand.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_expand2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_expand2.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_hide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_hide.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_hide_fps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_hide_fps.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/flow_menu.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/flow_menu.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/guide_finger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/guide_finger.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/head_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/head_default.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/ic_mail_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/ic_mail_white_24dp.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/imgae_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 16 | 17 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/itlogin_login_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/itlogin_ssologin_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/itlogin_ssologin_intokenview_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/left_btn_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/left_btn_bk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/left_btn_bk.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/logo.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/logout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/logout.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/mainbk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/mainbk.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/message.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/msg.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/onekeycommit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/onekeycommit.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/p7_setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/p7_setting.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/per_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/per_logo.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/per_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/per_title.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/proj_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/proj_title.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/proj_title_list.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/proj_title_list.9.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/qq_login_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/qq_login_icon.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/recommand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/recommand.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/remote_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/remote_logo.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/remote_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/remote_title.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/right_ctr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/right_ctr.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/rtx_login_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/rtx_login_icon.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/select_app_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/select_app_title.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/select_float_win_right_p8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/select_float_win_right_p8.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/select_win_manager_p8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/select_win_manager_p8.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/selector_center_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/selector_login_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/selector_test_start_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/set_win_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/set_win_manager.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/setting.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/temp_a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/temp_a.jpg -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/temp_b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/temp_b.jpg -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/drawable/win_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentOpen/WeTest-Assistant/756dd221d116023773601ff1fd54af339db72428/WeTestAssist/app/src/main/res/drawable/win_manager.png -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/layout/activity_app_list.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 23 | 24 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /WeTestAssist/app/src/main/res/layout/activity_code_page.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 16 | 17 | 25 | 26 | 31 | 36 | 37 | 47 | 48 | 58 |