f6629839d1
This commit is mainly from I7a6a30bf8e8db9f2738594d187bb9148f138b8da, so test cases and features are mostly same. We change product_services partition name to "system_ext" because this partition's purpose changes. - installing a RRO package for framework from /system_ext/overlay - installing apps from /system_ext/app - installing priv-apps from /system_ext/priv-app - installing permissions from /system_ext/etc/[default-permissions|permissions|sysconfig] Bug: 134359158 Test: `mma` under frameworks/base/tests/[libs|privapp]-permissions adb sync && adb reboot adb shell cmd package list libraries => confirmed com.android.test.libs.system_ext library adb shell cmd package dump \ com.android.framework.permission.privapp.tests.system_ext => confirmed that the package is a priv-app Change-Id: Ibbccbba64156a7bc464ffb3785fb8fe69ebb973c Merged-In: Ibbccbba64156a7bc464ffb3785fb8fe69ebb973c (cherry picked from commit 9ec059ac1d38637855d9ab91e25a28164aa93b24)
24 lines
936 B
XML
24 lines
936 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
* Copyright (C) 2018 Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.framework.permission.privapp.tests.system_ext">
|
|
|
|
<!-- MANAGE_USB is signature|privileged -->
|
|
<uses-permission android:name="android.permission.MANAGE_USB"/>
|
|
</manifest>
|