Home
last modified time | relevance | path

Searched refs:p_cod (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluedroid/bta/sys/
Dutl.c190 BOOLEAN utl_set_device_class(tBTA_UTL_COD *p_cod, UINT8 cmd) in utl_set_device_class() argument
205 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
206 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
211 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
212 service = service | p_cod->service; in utl_set_device_class()
216 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
217 service = service & (~p_cod->service); in utl_set_device_class()
221 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
222 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
223 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
[all …]
/external/bluetooth/bluedroid/stack/gap/
Dgap_api.c771 UINT16 GAP_SetDeviceClass(tGAP_COD *p_cod, UINT8 cmd) in GAP_SetDeviceClass() argument
787 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in GAP_SetDeviceClass()
788 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in GAP_SetDeviceClass()
793 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in GAP_SetDeviceClass()
794 service = service | p_cod->service; in GAP_SetDeviceClass()
798 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in GAP_SetDeviceClass()
799 service = service & (~p_cod->service); in GAP_SetDeviceClass()
803 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in GAP_SetDeviceClass()
804 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in GAP_SetDeviceClass()
805 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in GAP_SetDeviceClass()
[all …]
/external/bluetooth/bluedroid/bta/include/
Dutl.h138 extern BOOLEAN utl_set_device_class(tBTA_UTL_COD *p_cod, UINT8 cmd);
/external/bluetooth/bluedroid/stack/include/
Dgap_api.h492 GAP_API extern UINT16 GAP_SetDeviceClass(tGAP_COD *p_cod, UINT8 cmd);
503 GAP_API extern UINT16 GAP_ReadDeviceClass(tGAP_COD *p_cod);
/external/bluetooth/bluedroid/stack/btm/
Dbtm_inq.c179 UINT8 *p_cod; in BTM_SetDiscoverability() local
279 p_cod = BTM_ReadDeviceClass(); in BTM_SetDiscoverability()
280 BTM_COD_SERVICE_CLASS(service_class, p_cod); in BTM_SetDiscoverability()
285 BTM_COD_MINOR_CLASS(minor, p_cod ); in BTM_SetDiscoverability()
286 BTM_COD_MAJOR_CLASS(major, p_cod ); in BTM_SetDiscoverability()