1 // Copyright 2020 The Android Open Source Project 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // This file maintain a list of advanced features that can be switched on/off 16 // with feature control. 17 // 18 // The features in this file depend on system image builds. It needs to be 19 // enabled in BOTH system images and emulator to be actually enabled. 20 // To add system image independent features, please add them to 21 // FeatureControlDefHost.h 22 // 23 // To add a new item, please add a new line in the following format: 24 // FEATURE_CONTROL_ITEM(YOUR_FEATURE_NAME) 25 // You will also need to edit its default value in the following two places: 26 // android/data/advancedFeatures.ini 27 // $(system_image)/development/sys-img/advancedFeatures.ini 28 29 // This file is supposed to be included multiple times. It should not have 30 // #pragma once here. 31 32 FEATURE_CONTROL_ITEM(GrallocSync) 33 FEATURE_CONTROL_ITEM(EncryptUserData) 34 FEATURE_CONTROL_ITEM(IntelPerformanceMonitoringUnit) 35 FEATURE_CONTROL_ITEM(GLAsyncSwap) 36 FEATURE_CONTROL_ITEM(GLDMA) 37 FEATURE_CONTROL_ITEM(GLDMA2) 38 FEATURE_CONTROL_ITEM(GLDirectMem) 39 FEATURE_CONTROL_ITEM(GLESDynamicVersion) 40 FEATURE_CONTROL_ITEM(Wifi) 41 FEATURE_CONTROL_ITEM(PlayStoreImage) 42 FEATURE_CONTROL_ITEM(LogcatPipe) 43 FEATURE_CONTROL_ITEM(SystemAsRoot) 44 FEATURE_CONTROL_ITEM(KernelDeviceTreeBlobSupport) 45 FEATURE_CONTROL_ITEM(DynamicPartition) 46 FEATURE_CONTROL_ITEM(RefCountPipe) 47 FEATURE_CONTROL_ITEM(HostComposition) 48 FEATURE_CONTROL_ITEM(WifiConfigurable) 49 FEATURE_CONTROL_ITEM(VirtioInput) 50 FEATURE_CONTROL_ITEM(MultiDisplay) 51 FEATURE_CONTROL_ITEM(VulkanNullOptionalStrings) 52 FEATURE_CONTROL_ITEM(YUV420888toNV21) 53 FEATURE_CONTROL_ITEM(YUVCache) 54 FEATURE_CONTROL_ITEM(KeycodeForwarding) 55 FEATURE_CONTROL_ITEM(VulkanIgnoredHandles) 56 FEATURE_CONTROL_ITEM(VirtioGpuNext) 57 FEATURE_CONTROL_ITEM(Mac80211hwsimUserspaceManaged) 58 FEATURE_CONTROL_ITEM(HasSharedSlotsHostMemoryAllocator) 59 FEATURE_CONTROL_ITEM(HardwareDecoder) 60 FEATURE_CONTROL_ITEM(VirtioWifi) 61 FEATURE_CONTROL_ITEM(ModemSimulator) 62 FEATURE_CONTROL_ITEM(VirtioMouse) 63 FEATURE_CONTROL_ITEM(VirtconsoleLogcat) 64 FEATURE_CONTROL_ITEM(VulkanQueueSubmitWithCommands) 65 FEATURE_CONTROL_ITEM(VulkanBatchedDescriptorSetUpdate) 66