Lines Matching defs:data_mask
1202 tBTM_STATUS BTM_BleWriteScanRsp(tBTM_BLE_AD_MASK data_mask, tBTM_BLE_ADV_DATA *p_data)
1208 BTM_TRACE_EVENT ("%s: data_mask:%08x", __func__, data_mask);
1213 btm_ble_build_adv_data(&data_mask, &p, p_data);
1219 if (data_mask != 0)
1241 tBTM_STATUS BTM_BleWriteAdvData(tBTM_BLE_AD_MASK data_mask, tBTM_BLE_ADV_DATA *p_data)
1245 tBTM_BLE_AD_MASK mask = data_mask;
1254 p_cb_data->data_mask = data_mask;
1265 p_cb_data->data_mask &= ~mask;
1359 UINT32 data_mask = *p_data_mask;
1369 if (data_mask)
1372 if (data_mask & BTM_BLE_AD_BIT_FLAGS)
1384 data_mask &= ~BTM_BLE_AD_BIT_FLAGS;
1387 if (len > 3 && data_mask & BTM_BLE_AD_BIT_APPEARANCE)
1394 data_mask &= ~BTM_BLE_AD_BIT_APPEARANCE;
1398 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_DEV_NAME)
1414 data_mask &= ~BTM_BLE_AD_BIT_DEV_NAME;
1418 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_MANU &&
1431 data_mask &= ~BTM_BLE_AD_BIT_MANU;
1434 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_TX_PWR)
1442 data_mask &= ~BTM_BLE_AD_BIT_TX_PWR;
1445 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_SERVICE &&
1466 data_mask &= ~BTM_BLE_AD_BIT_SERVICE;
1469 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_SERVICE_32 &&
1490 data_mask &= ~BTM_BLE_AD_BIT_SERVICE_32;
1493 if (len >= (MAX_UUID_SIZE + 2) && data_mask & BTM_BLE_AD_BIT_SERVICE_128 &&
1505 data_mask &= ~BTM_BLE_AD_BIT_SERVICE_128;
1508 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_SERVICE_32SOL &&
1529 data_mask &= ~BTM_BLE_AD_BIT_SERVICE_32SOL;
1532 if (len >= (MAX_UUID_SIZE + MIN_ADV_LENGTH) && data_mask & BTM_BLE_AD_BIT_SERVICE_128SOL &&
1539 data_mask &= ~BTM_BLE_AD_BIT_SERVICE_128SOL;
1542 if (len > MIN_ADV_LENGTH && data_mask & BTM_BLE_AD_BIT_SERVICE_DATA &&
1573 data_mask &= ~BTM_BLE_AD_BIT_SERVICE_DATA;
1581 if (len >= 6 && data_mask & BTM_BLE_AD_BIT_INT_RANGE &&
1589 data_mask &= ~BTM_BLE_AD_BIT_INT_RANGE;
1591 if (data_mask & BTM_BLE_AD_BIT_PROPRIETARY && p_data)
1612 data_mask &= ~BTM_BLE_AD_BIT_PROPRIETARY;
1616 *p_data_mask = data_mask;
2173 p_adv_data->data_mask |= BTM_BLE_AD_BIT_FLAGS;