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 @@
+
\ 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 @@
+
\ 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 @@
+
\ 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 @@
+
\ 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(
*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 @@
+
+
+
# 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 @@