自学内容网 自学内容网

Android CTA配置和3C认证、SRRC认证

办理 通信产品的《进网许可证》申请行业里俗称“CTA”

3C即“中国强制认证”强制性产品认证制度

SRRC是国家无线电管理委员会强制认证要求;型号核准 

 MTK  CTA config配置:

#cta config低版本
MTK_PERMISSION_CONTROL=yes
MTK_MOBILE_MANAGEMENT=yes
MTK_PRIVACY_PROTECTION_LOCK=yes
MTK_CTA_SET=yes
MTK_CTA_SUPPORT=yes
MTK_WAPI_SUPPORT=yes

#cta 高版本
MSSI_MTK_PERMISSION_CONTROL=yes
MSSI_MTK_MOBILE_MANAGEMENT=yes
MSSI_MTK_PRIVACY_PROTECTION_LOCK=yes
MSSI_MTK_CTA_SET=yes
MSSI_MTK_CTA_SUPPORT=yes
MSSI_MTK_WAPI_SUPPORT=yes
MTK_PERMISSION_CONTROL=yes
MTK_MOBILE_MANAGEMENT=yes
MTK_PRIVACY_PROTECTION_LOCK=yes
MTK_CTA_SET=yes
MTK_CTA_SUPPORT=yes
MTK_WAPI_SUPPORT=yes 

配置cta   modem:

#modem
CUSTOM_MODEM = mxx_xxxxxxxx_cta

设置对应的模数:

这里例举:

# FDD4M
MTK_C2K_LTE_MODE = 0
MTK_MD1_SUPPORT = 9
MTK_ECCCI_C2K = yes
MTK_MD3_SUPPORT = 0
MTK_PROTOCOL1_RAT_CONFIG = Lf/Lt/W/G

 frameworks/base/telephony/java/com/android/internal/telephony/RILConstants.java

SRRC认证 + 网络模式设置为:LTE  ONLY

   /*/add set 3c and srrc for LTE only
    int PREFERRED_NETWORK_MODE = Integer.parseInt(TelephonyManager.getTelephonyProperty(0,
            "ro.telephony.default_network", Integer.toString(NETWORK_MODE_WCDMA_PREF)));
    //*/
    int PREFERRED_NETWORK_MODE = NETWORK_MODE_LTE_ONLY;
    //*/ 

 CE认证 + 3C认证 + 安全音量设置:

/frameworks/base/services/core/java/com/android/server/audio/AudioService.java

final Set<Integer> mSafeMediaVolumeDevices = new HashSet<>(
            Arrays.asList(AudioSystem.DEVICE_OUT_WIRED_HEADSET,
                 
  //*/ add bluetoth to adaptive GB
                    AudioSystem.DEVICE_OUT_WIRED_HEADPHONE, AudioSystem.DEVICE_OUT_USB_HEADSET,
                    AudioSystem.DEVICE_OUT_BLUETOOTH_SCO, AudioSystem.DEVICE_OUT_BLUETOOTH_SCO_HEADSET,
                    AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP, AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES


原文地址:https://blog.csdn.net/qq_46687516/article/details/143883832

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!