Home
last modified time | relevance | path

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

/system/bt/bta/sys/
Dutl.cc160 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) { in utl_set_device_class() argument
173 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
174 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
179 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
180 service = service | p_cod->service; in utl_set_device_class()
184 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
185 service = service & (~p_cod->service); in utl_set_device_class()
189 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
190 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
191 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
[all …]
/system/bt/bta/include/
Dutl.h124 extern bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd);
/system/bt/test/mock/
Dmock_bta_sys_utl.cc48 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) { in utl_set_device_class() argument
/system/bt/stack/btm/
Dbtm_inq.cc184 uint8_t* p_cod; in BTM_SetDiscoverability() local
244 p_cod = BTM_ReadDeviceClass(); in BTM_SetDiscoverability()
245 BTM_COD_SERVICE_CLASS(service_class, p_cod); in BTM_SetDiscoverability()
249 BTM_COD_MINOR_CLASS(minor, p_cod); in BTM_SetDiscoverability()
250 BTM_COD_MAJOR_CLASS(major, p_cod); in BTM_SetDiscoverability()