From b1e068ba3297d45dc1d648502a11dffe5bf885d8 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Mon, 27 Dec 2021 16:05:24 +0800 Subject: [PATCH 01/10] Create img --- data/img | 1 + 1 file changed, 1 insertion(+) create mode 100644 data/img diff --git a/data/img b/data/img new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/data/img @@ -0,0 +1 @@ + From 0c262d72554a70e13aa7e59d87ff04d2f5beef74 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Mon, 27 Dec 2021 16:07:29 +0800 Subject: [PATCH 02/10] Add files via upload --- xiaomi_circle.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 xiaomi_circle.svg diff --git a/xiaomi_circle.svg b/xiaomi_circle.svg new file mode 100644 index 0000000..f4c531c --- /dev/null +++ b/xiaomi_circle.svg @@ -0,0 +1 @@ + \ No newline at end of file From 5c7634f15496f79875a1a1fef3710efc7b94a597 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Mon, 27 Dec 2021 16:08:24 +0800 Subject: [PATCH 03/10] Add files via upload --- data/MiSpeed-1.0.0.svg | 1 + data/docs-1.0.0-blue.svg | 1 + data/jar-available-blueviolet.svg | 1 + data/license-Apache2.0-brightgreen.svg | 1 + 4 files changed, 4 insertions(+) create mode 100644 data/MiSpeed-1.0.0.svg create mode 100644 data/docs-1.0.0-blue.svg create mode 100644 data/jar-available-blueviolet.svg create mode 100644 data/license-Apache2.0-brightgreen.svg diff --git a/data/MiSpeed-1.0.0.svg b/data/MiSpeed-1.0.0.svg new file mode 100644 index 0000000..dbd5d06 --- /dev/null +++ b/data/MiSpeed-1.0.0.svg @@ -0,0 +1 @@ +MiSpeed: 1.0.0MiSpeed1.0.0 \ No newline at end of file diff --git a/data/docs-1.0.0-blue.svg b/data/docs-1.0.0-blue.svg new file mode 100644 index 0000000..105e04e --- /dev/null +++ b/data/docs-1.0.0-blue.svg @@ -0,0 +1 @@ +docs: 1.0.0docs1.0.0 \ No newline at end of file diff --git a/data/jar-available-blueviolet.svg b/data/jar-available-blueviolet.svg new file mode 100644 index 0000000..034b080 --- /dev/null +++ b/data/jar-available-blueviolet.svg @@ -0,0 +1 @@ +jar: availablejaravailable \ No newline at end of file diff --git a/data/license-Apache2.0-brightgreen.svg b/data/license-Apache2.0-brightgreen.svg new file mode 100644 index 0000000..81fe830 --- /dev/null +++ b/data/license-Apache2.0-brightgreen.svg @@ -0,0 +1 @@ +license: Apache2.0licenseApache2.0 \ No newline at end of file From 098d7c5c8b95064ce0feb31cab3c3575867ad31c Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Mon, 27 Dec 2021 16:21:48 +0800 Subject: [PATCH 04/10] Add files via upload --- data/xiaomi_circle.png | Bin 0 -> 2123 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 data/xiaomi_circle.png diff --git a/data/xiaomi_circle.png b/data/xiaomi_circle.png new file mode 100644 index 0000000000000000000000000000000000000000..903b31fcd5e439f0ab62e2eba278684954bf8dbf GIT binary patch literal 2123 zcmV-R2(C?W-}C7^@^q=;hhS;Bb*q*dE{ zOvgVkSP67rGduhEe*boN=1b?>dF|dV073{Mgb+dqA%ud0s1883migls&6qH95zDbL zX3nEwdhm;m%#$;kJHD0`n;ZBl0r=XQgDl4;%B+Ky&=h%Q=Tw<>ILWgK5G|!}V9_mG zqQi>rQyIr+hcl1P*?4rL${6hMTmp11yKO_XOq;Jdj*HoTtc%Rr@U7}FOz}(t6q@2( zbqq#PO5lp+DVomme$}z)adiSD<5xm*_H~|V_>0jJDOdlGT^U?5J_?evul01pUr0-& zh5$gH>NqaswgdEJtG-&OIt~Dr zB!HJDcp_OnvO;!C$5+GVkptE60Ag}sM zQMFnKIbC6G)hKNIi}-gKj5uAdqgmJ0Q2kJOarh%A>-3t1>kpGRkDqa@KF1P(zdEgx z1w#GPG%j_+J~>JNwX}wTvqu((%r|ZD;oCflTo&m z9-yoK_Q$aC#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H%q%>Lt(bDp4KBK(0!F0klF>e6UYHc?#zM zqZ`^nR-fIM$*l=+o|jh(=Vte98UT0g2WMTM0002d2nn5B6=#fjBNu31J4EVQC#jCZ z2u~!yK-(U;8KzGzcV#9tZvCD#?o6u=!xYaYz(6hYZ-TpSs8pH^buGupORXnWhG2`Q z6W~Ifb(24i4lTZ4W*wg%PA`0F)3G Date: Mon, 27 Dec 2021 16:26:38 +0800 Subject: [PATCH 05/10] Delete xiaomi_circle.svg --- xiaomi_circle.svg | 1 - 1 file changed, 1 deletion(-) delete mode 100644 xiaomi_circle.svg diff --git a/xiaomi_circle.svg b/xiaomi_circle.svg deleted file mode 100644 index f4c531c..0000000 --- a/xiaomi_circle.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file From 004a82845cfe9bafcace29cde0ac92705dab98a6 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Mon, 27 Dec 2021 16:27:39 +0800 Subject: [PATCH 06/10] Add files via upload --- data/xiaomi_circle.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 data/xiaomi_circle.svg diff --git a/data/xiaomi_circle.svg b/data/xiaomi_circle.svg new file mode 100644 index 0000000..3a6a43d --- /dev/null +++ b/data/xiaomi_circle.svg @@ -0,0 +1 @@ + From ff85eb0e458be73c54bb1d612951d40003cbf203 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Mon, 27 Dec 2021 16:38:33 +0800 Subject: [PATCH 07/10] Update README_zh.md --- README_zh.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/README_zh.md b/README_zh.md index 3f7842a..5937e9a 100644 --- a/README_zh.md +++ b/README_zh.md @@ -1,7 +1,50 @@ +
+

+

+ + MiBridge + +
+ MiSpeed +

+

Powerful yet simple to use .

+

+

+ + GNU/Linux Build Status + + + Windows Build Status + + MacOS Build Status + + + Nightly Build + +
+

+
+ + # 小米应用加速器 ## 其他语言 [English](./README.md) + +## Index + +- [我们的目的](#我们的目的) +- [简介](#简介) +- [我们的优势](#我们的优势) +- [接入说明](#接入说明) + - [申请调试权限](#申请调试权限) + - [接口定义](#接口定义) + - [申请正式权限](#申请正式权限) + - [更多合作](#更多合作) + + + + ## 我们的目的 一切为了用户,让用户得到最好的体验! ## 简介 @@ -20,7 +63,7 @@  此目录包含:
  *mibridge*: MiBridge jar包的实现代码。
  *app*: 测试MiBridge的app代码。
-#### 1. 申请调试权限
+#### 申请调试权限 请提供以下信息,发送到邮箱xiaomi-mispeed-support@xiaomi.com, 申请接入调试权限。
#### 邮件主题:xx(APP名称)申请小米应用加速器接入调试权限
@@ -32,7 +75,7 @@ com.mi.testmibridge | 张三 | [__支持设备版本列表__](./support_devices.md) -#### 2. 接口定义 +#### 接口定义 __权限检查接口__
1. ```boolean checkPermission(String pkg, int uid)```
@@ -178,7 +221,7 @@ __系统资源申请接口__
-1: Fail
-2: Permission not granted!
-

3. 申请正式权限

+#### 申请正式权限 请提供以下信息,发送到邮箱xiaomi-mispeed-support@xiaomi.com, 申请正式权限。
邮件主题:xx(APP名称)申请小米应用加速器正式权限
__1. 资源接口使用场景
@@ -211,7 +254,7 @@ __3. 功耗测试
备注:我们也会根据您提供的场景进行功耗测试。
-#### 4. 更多合作 +#### 更多合作 后续将会开放更多接口
requestIOHighFreq,requestMemory,requestNetwork等 From 2cd297b8903a45530d451510a86500fb7a961400 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Tue, 4 Jan 2022 14:17:25 +0800 Subject: [PATCH 08/10] Update README.md Add index & badge to embellish README. --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b7891c3..9376b5b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,47 @@ +
+

+

+ + MiBridge + +
+ MiSpeed +

+

Powerful yet simple to use .

+

+

+ + GNU/Linux Build Status + + + Windows Build Status + + MacOS Build Status + + + Nightly Build + +
+

+
+ + # MiSpeed ## Other language versions [简体中文](./README_zh.md) + +## Index + +- [Our Purpose](#Our Purpose) +- [Introduction](#Introduction) +- [Our Advantages](#Our Advantages) +- [Access Note](#Access Note) + - [Applying for debugging](#Applying for debugging) + - [APIs](#APIs) + - [Applying for fromal permission](#Applying for fromal permission) + - [More cooperation](#More cooperation) + ## Our Purpose All for users, make users getting the best experience! ## Introduction @@ -21,7 +61,7 @@ which can improve the performance of developers in key application scenarios and   Inclued:
  *mibridge*: Source code of MiBridge.jar
  *app*: Testing application code.
-#### 1. Applying for debugging permission
+#### Applying for debugging permission
Please provide the following information and send it to xiaomi-mispeed-support@xiaomi.com to apply for debugging permission.
Subject:xx Company,Applying for MiSpeed debugging permission。
@@ -38,7 +78,7 @@ Note: What is VAID, how to get it? [__Support Devices__](./support_devices.md) -#### 2. APIs +#### APIs __Permission apis__
1. ```boolean checkDebugPermission(Context context, String pkg, int uid, String auth_key)```
@@ -126,7 +166,7 @@ __APIs for request system resouce__
-1: Fail
-2: Permission not granted!
-

3. Applying for fromal permission

+#### Applying for fromal permission Please provide the following information and send it to xiaomi-mispeed-support@xiaomi.com to apply for formal permission.
Subject:xx Company,Applying for MiSpeed formal permission。
__`Note:To apply for formal permission,relevant business agreements need to be signed.`__
@@ -160,7 +200,7 @@ Scenario 2 | .. | .. | .. Note:We will also do power consumption test according to the scenarios provided by you.
-#### 4. More cooperation +#### More cooperation More APIs will be supported in the future
requestGpuHighFreq,requestIOHighFreq,requestMemory,requestNetwork and so on. From e28a9f0637b3544573d9193465ad5cdca88f52d9 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Tue, 4 Jan 2022 14:26:19 +0800 Subject: [PATCH 09/10] Update README.md Fix index problem. --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9376b5b..718d34d 100644 --- a/README.md +++ b/README.md @@ -33,14 +33,14 @@ ## Index -- [Our Purpose](#Our Purpose) -- [Introduction](#Introduction) -- [Our Advantages](#Our Advantages) -- [Access Note](#Access Note) - - [Applying for debugging](#Applying for debugging) - - [APIs](#APIs) - - [Applying for fromal permission](#Applying for fromal permission) - - [More cooperation](#More cooperation) +- [Our Purpose](#our-purpose) +- [Introduction](#introduction) +- [Our Advantages](#our-advantages) +- [Access Note](#access-note) + - [Applying for debugging permission](#applying-for-debugging-permission) + - [APIs](#apis) + - [Applying for fromal permission](#applying-for-fromal-permission) + - [More cooperation](#more-cooperation) ## Our Purpose All for users, make users getting the best experience! From 2e985ec8322fb3b35ff231f2b6cb4b5b46f14650 Mon Sep 17 00:00:00 2001 From: zh0903 <1004371586@qq.com> Date: Fri, 7 Jan 2022 14:31:35 +0800 Subject: [PATCH 10/10] update alt --- README_zh.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README_zh.md b/README_zh.md index 5937e9a..36be29f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -11,15 +11,15 @@

- GNU/Linux Build Status + Build Status - Windows Build Status + Doc Status - MacOS Build Status + Jar Status - Nightly Build + license