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, idx) 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, 47) 33 FEATURE_CONTROL_ITEM(EncryptUserData, 48) 34 FEATURE_CONTROL_ITEM(IntelPerformanceMonitoringUnit, 49) 35 FEATURE_CONTROL_ITEM(GLAsyncSwap, 50) 36 FEATURE_CONTROL_ITEM(GLDMA, 51) 37 FEATURE_CONTROL_ITEM(GLDMA2, 52) 38 FEATURE_CONTROL_ITEM(GLDirectMem, 53) 39 FEATURE_CONTROL_ITEM(GLESDynamicVersion, 54) 40 FEATURE_CONTROL_ITEM(Wifi, 55) 41 FEATURE_CONTROL_ITEM(PlayStoreImage, 56) 42 FEATURE_CONTROL_ITEM(LogcatPipe, 57) 43 FEATURE_CONTROL_ITEM(SystemAsRoot, 58) 44 FEATURE_CONTROL_ITEM(KernelDeviceTreeBlobSupport, 59) 45 FEATURE_CONTROL_ITEM(DynamicPartition, 60) 46 FEATURE_CONTROL_ITEM(RefCountPipe, 61) 47 FEATURE_CONTROL_ITEM(HostComposition, 62) 48 FEATURE_CONTROL_ITEM(WifiConfigurable, 63) 49 FEATURE_CONTROL_ITEM(VirtioInput, 64) 50 FEATURE_CONTROL_ITEM(MultiDisplay, 65) 51 FEATURE_CONTROL_ITEM(VulkanNullOptionalStrings, 66) 52 FEATURE_CONTROL_ITEM(YUV420888toNV21, 67) 53 FEATURE_CONTROL_ITEM(YUVCache, 68) 54 FEATURE_CONTROL_ITEM(KeycodeForwarding, 69) 55 FEATURE_CONTROL_ITEM(VulkanIgnoredHandles, 70) 56 FEATURE_CONTROL_ITEM(VirtioGpuNext, 71) 57 FEATURE_CONTROL_ITEM(Mac80211hwsimUserspaceManaged, 72) 58 FEATURE_CONTROL_ITEM(HardwareDecoder, 73) 59 FEATURE_CONTROL_ITEM(VirtioWifi, 74) 60 FEATURE_CONTROL_ITEM(ModemSimulator, 75) 61 FEATURE_CONTROL_ITEM(VirtioMouse, 76) 62 FEATURE_CONTROL_ITEM(VirtconsoleLogcat, 77) 63 FEATURE_CONTROL_ITEM(VirtioVsockPipe, 78) 64 FEATURE_CONTROL_ITEM(VulkanQueueSubmitWithCommands, 79) 65 FEATURE_CONTROL_ITEM(VulkanBatchedDescriptorSetUpdate, 80) 66 FEATURE_CONTROL_ITEM(Minigbm, 81) 67 FEATURE_CONTROL_ITEM(GnssGrpcV1, 82) 68 FEATURE_CONTROL_ITEM(AndroidbootProps, 83) 69 FEATURE_CONTROL_ITEM(AndroidbootProps2, 84) 70 FEATURE_CONTROL_ITEM(DeviceSkinOverlay, 85) 71 FEATURE_CONTROL_ITEM(BluetoothEmulation, 86) 72 FEATURE_CONTROL_ITEM(DeviceStateOnBoot, 87) 73 FEATURE_CONTROL_ITEM(HWCMultiConfigs, 88) 74 FEATURE_CONTROL_ITEM(VirtioSndCard, 89) 75 FEATURE_CONTROL_ITEM(VirtioTablet, 90) 76 FEATURE_CONTROL_ITEM(VsockSnapshotLoadFixed_b231345789, 91) 77 FEATURE_CONTROL_ITEM(DownloadableSnapshot, 92) 78 FEATURE_CONTROL_ITEM(SupportPixelFold, 96) 79 FEATURE_CONTROL_ITEM(DeviceKeyboardHasAssistKey, 97) 80 FEATURE_CONTROL_ITEM(Uwb, 101) 81