<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (C) 2021 The 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.virtualmachine.res">

  <!-- @SystemApi Allows an application to create and run a Virtual Machine
       using the Virtualization Framework APIs
       (android.system.virtualmachine.*).
       <p>Protection level: signature|preinstalled|development
       @hide
  -->
  <permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE"
      android:protectionLevel="signature|preinstalled|development" />

  <!-- @hide Allows an application to run a Virtual Machine with a custom
       kernel or a Microdroid configuration file.
       <p>Not for use by third-party applications.
  -->
  <permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE"
      android:protectionLevel="signature|development" />

  <!-- @hide Allows an application to access various Virtual Machine debug
       facilities, e.g. list all running VMs.
       <p>Not for use by third-party applications.
  -->
  <permission android:name="android.permission.DEBUG_VIRTUAL_MACHINE"
      android:protectionLevel="signature" />

  <application android:hasCode="false" />
</manifest>
