<?xml version="1.0" encoding="utf-8"?> <!-- * Copyright (C) 2017 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.cts.usepermission"> <uses-sdk android:minSdkVersion="25" android:targetSdkVersion="25" /> <!-- Request two different permissions within the same group --> <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <!-- Contacts --> <!-- Deliberately request WRITE_CONTACTS but *not* READ_CONTACTS --> <uses-permission android:name="android.permission.WRITE_CONTACTS"/> <!-- Calendar --> <uses-permission android:name="android.permission.READ_CALENDAR"/> <uses-permission android:name="android.permission.WRITE_CALENDAR"/> <!-- SMS --> <uses-permission android:name="android.permission.SEND_SMS"/> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.READ_SMS"/> <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH"/> <uses-permission android:name="android.permission.RECEIVE_MMS"/> <uses-permission android:name="android.permission.READ_CELL_BROADCASTS"/> <!-- Storage --> <!-- Special case: WRITE_EXTERNAL_STORAGE implies READ_EXTERNAL_STORAGE --> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <!-- Location --> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <!-- Phone --> <uses-permission android:name="android.permission.READ_PHONE_STATE"/> <uses-permission android:name="android.permission.CALL_PHONE"/> <uses-permission android:name="android.permission.READ_CALL_LOG"/> <uses-permission android:name="android.permission.WRITE_CALL_LOG"/> <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"/> <uses-permission android:name="android.permission.USE_SIP"/> <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/> <!-- Phone --> <uses-permission android:name="android.permission.RECORD_AUDIO"/> <!-- Camera --> <uses-permission android:name="android.permission.CAMERA"/> <!-- Body Sensors --> <uses-permission android:name="android.permission.BODY_SENSORS"/> <application> <uses-library android:name="android.test.runner" /> <activity android:name="com.android.cts.usepermission.BasePermissionActivity" /> </application> <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.cts.usepermission" /> </manifest>