markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2019 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0 |
| 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 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
markchien | 58b0f23 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 17 | package="com.android.networkstack.tethering.tests.unit"> |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 18 | |
Paul Hu | 77fa8d6 | 2020-04-16 02:54:37 +0000 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
Remi NGUYEN VAN | 84229e0 | 2020-01-24 22:57:09 +0900 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.TETHER_PRIVILEGED"/> |
| 21 | |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 22 | <application android:debuggable="true"> |
| 23 | <uses-library android:name="android.test.runner" /> |
Mark Chien | 09ad80f | 2020-04-07 16:17:49 +0000 | [diff] [blame] | 24 | <service |
markchien | 503be61 | 2020-04-12 21:41:29 +0800 | [diff] [blame] | 25 | android:name="com.android.networkstack.tethering.MockTetheringService" |
Mark Chien | 09ad80f | 2020-04-07 16:17:49 +0000 | [diff] [blame] | 26 | android:permission="android.permission.TETHER_PRIVILEGED" |
| 27 | android:exported="true"> |
| 28 | <intent-filter> |
markchien | 503be61 | 2020-04-12 21:41:29 +0800 | [diff] [blame] | 29 | <action android:name="com.android.networkstack.tethering.TetheringService"/> |
Mark Chien | 09ad80f | 2020-04-07 16:17:49 +0000 | [diff] [blame] | 30 | </intent-filter> |
| 31 | </service> |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 32 | </application> |
Mark Chien | 09ad80f | 2020-04-07 16:17:49 +0000 | [diff] [blame] | 33 | |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 34 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
markchien | 58b0f23 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 35 | android:targetPackage="com.android.networkstack.tethering.tests.unit" |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 36 | android:label="Tethering service tests"> |
| 37 | </instrumentation> |
| 38 | </manifest> |