Home
last modified time | relevance | path

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

/system/bt/bta/sys/
Dutl.cc159 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) { in utl_set_device_class() argument
172 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
173 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
178 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
179 service = service | p_cod->service; in utl_set_device_class()
183 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
184 service = service & (~p_cod->service); in utl_set_device_class()
188 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
189 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
190 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
[all …]
/system/bt/bta/include/
Dutl.h125 extern bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd);
/system/bt/stack/btm/
Dbtm_inq.cc147 uint8_t* p_cod; in BTM_SetDiscoverability() local
223 p_cod = BTM_ReadDeviceClass(); in BTM_SetDiscoverability()
224 BTM_COD_SERVICE_CLASS(service_class, p_cod); in BTM_SetDiscoverability()
228 BTM_COD_MINOR_CLASS(minor, p_cod); in BTM_SetDiscoverability()
229 BTM_COD_MAJOR_CLASS(major, p_cod); in BTM_SetDiscoverability()