1,viewactivityshomeviewsrchomeview.cpp
#if defined(ENABLE_WIRELESS_CP) && defined(ENABLE_ANDROIDAUTO_2_0_WIRELESS) #define DEVICE_WIRELESS #endif
2,sys_config.mk
ifeq ($(ANDROIDAUTO_MODULE),AA_2_0_USB_WIFI)
COMMON_FLAGS += -DENABLE_ANDROIDAUTO_2_0_WIRELESS
endif
ifeq ($(DISABLE_WIRELESS_CP),0) COMMON_FLAGS += -DENABLE_WIRELESS_CP endif
3,($(ANDROIDAUTO_MODULE),AA_2_0_USB_WIFI)和DISABLE_WIRELESS_CP
一,AA_2_0_USB_WIFI
1)application/config/sunplus/sunplus_pub/app_config
application/config/sunplus/sunplus_pub/app_config
105 ## AndroidAuto Module 106 ## AA_1_0_USB 107 ## AA_2_0_USB 108 ## AA_2_0_USB_WIFI 109 ifeq ($(CONFIG_GLB_GMNCFG_ANDROIDAUTO_VERSION_V1_0)_set, y_set) 110 ANDROIDAUTO_MODULE=AA_1_0_USB 111 endif 112 ifeq ($(CONFIG_GLB_GMNCFG_ANDROIDAUTO_VERSION_V2_0)_set, y_set) 113 ANDROIDAUTO_MODULE=AA_2_0_USB 114 endif 115 ifeq ($(CONFIG_GLB_GMNCFG_ANDROIDAUTO_OVER_WIRELESS)_set, y_set) 116 ANDROIDAUTO_MODULE=AA_2_0_USB_WIFI 117 endif
2)build/platform_cfg/pub_cfg/defconfig:490
build/platform_cfg/pub_cfg/defconfig
487 CONFIG_GLB_GMNCFG_ANDROID_AUTO=y 488 # CONFIG_GLB_GMNCFG_ANDROIDAUTO_VERSION_V1_0 is not set 489 CONFIG_GLB_GMNCFG_ANDROIDAUTO_VERSION_V2_0=y 490 # CONFIG_GLB_GMNCFG_ANDROIDAUTO_OVER_WIRELESS is not set
二,DISABLE_WIRELESS_CP
1)application/config/sunplus/sunplus_pub/app_config
84 ## AccessoryConfigs
85 ifeq ($(CONFIG_GLB_GMNCFG_APPLE_CARPLAY)_set, y_set)
86 DISABLE_APPLE_CARPLAY=0
87 else
88 DISABLE_APPLE_CARPLAY=1
89 endif
90 ifeq ($(CONFIG_GLB_GMNCFG_CARPLAY_OVER_WIRELESS)_set, y_set)
91 DISABLE_WIRELESS_CP=0
92 else
93 DISABLE_WIRELESS_CP=1
94 endif
2)build/platform_cfg/pub_cfg/defconfig
475 # 476 # Accessory Features 477 # 478 CONFIG_GLB_GMNCFG_APPLE_CARPLAY=y 479 CONFIG_GLB_GMNCFG_CARPLAY_VERSION_2=y 480 # CONFIG_GLB_GMNCFG_CARPLAY_VERSION_3 is not set 481 CONFIG_GLB_GMNCFG_CARPLAY_PLUGIN_R14=y 482 # CONFIG_GLB_GMNCFG_CARPLAY_PLUGIN_R15 is not set 483 # CONFIG_GLB_GMNCFG_CARPLAY_OVER_WIRELESS is not set 484 # CONFIG_GLB_GMNCFG_OPTIMIZE_CARPLAY_CERTIFICATION is not set 485 # CONFIG_GLB_GMNCFG_CARPLAY_DEMO_DEVKIT is not set 486 # CONFIG_GLB_GMNCFG_CARPLAY_UNCERT is not set