HomeSort by relevance Sort by last modified time
    Searched defs:BD_ADDR_LEN (Results 1 - 10 of 10) sorted by null

  /external/bluetooth/bluedroid/bta/include/
bd.h 32 #ifndef BD_ADDR_LEN
33 #define BD_ADDR_LEN 6
34 typedef UINT8 BD_ADDR[BD_ADDR_LEN];
  /device/asus/flo/bdAddrLoader/
addrloader.c 32 #define BD_ADDR_LEN 6
63 unsigned char bin[BD_ADDR_LEN];
118 for(i=1; i<BD_ADDR_LEN; i++){
120 for(j=0; j<(BD_ADDR_LEN*2)-i*2; j++){
130 unsigned char addrData[BD_ADDR_LEN] = {0,};
139 if(!readBDAddrData(inArg.szSrc, loadedBDAddr->data.bin, BD_ADDR_LEN)){
157 if(property_get(inArg.szSrc, prop_value, "") >= 0 && strlen(prop_value) < BD_ADDR_LEN){
158 strlcpy((char *)loadedBDAddr->data.bin, prop_value, BD_ADDR_LEN);
193 if(!hexa_to_ascii(loadedBDAddr->data.bin, szTmp, BD_ADDR_LEN)){
  /device/lge/hammerhead/bdAddrLoader/
addrloader.c 32 #define BD_ADDR_LEN 6
60 unsigned char bin[BD_ADDR_LEN];
114 for (i=1; i<BD_ADDR_LEN; i++) {
116 for (j=0; j<(BD_ADDR_LEN*2)-i*2; j++) {
126 unsigned char addrData[BD_ADDR_LEN] = {0,};
135 if (!readBDAddrData(inArg.szSrc, loadedBDAddr->data.bin, BD_ADDR_LEN)) {
153 if (property_get(inArg.szSrc, prop_value, "") >= 0 && strlen(prop_value) < BD_ADDR_LEN) {
154 strlcpy((char *)loadedBDAddr->data.bin, prop_value, BD_ADDR_LEN);
188 if (!hexa_to_ascii(loadedBDAddr->data.bin, szTmp, BD_ADDR_LEN)) {
  /device/lge/mako/bdAddrLoader/
addrloader.c 32 #define BD_ADDR_LEN 6
63 unsigned char bin[BD_ADDR_LEN];
118 for(i=1; i<BD_ADDR_LEN; i++){
120 for(j=0; j<(BD_ADDR_LEN*2)-i*2; j++){
130 unsigned char addrData[BD_ADDR_LEN] = {0,};
139 if(!readBDAddrData(inArg.szSrc, loadedBDAddr->data.bin, BD_ADDR_LEN)){
157 if(property_get(inArg.szSrc, prop_value, "") >= 0 && strlen(prop_value) < BD_ADDR_LEN){
158 strlcpy((char *)loadedBDAddr->data.bin, prop_value, BD_ADDR_LEN);
193 if(!hexa_to_ascii(loadedBDAddr->data.bin, szTmp, BD_ADDR_LEN)){
  /packages/apps/Bluetooth/src/com/android/bluetooth/
Utils.java 40 static final int BD_ADDR_LEN = 6; // bytes
59 byte[] output = new byte[BD_ADDR_LEN];
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterProperties.java 40 private static final int BD_ADDR_LEN = 6; // 6 bytes
477 int number = val.length/BD_ADDR_LEN;
478 byte[] addrByte = new byte[BD_ADDR_LEN];
480 System.arraycopy(val, j * BD_ADDR_LEN, addrByte, 0, BD_ADDR_LEN);
  /hardware/broadcom/libbt/src/
hardware.c 90 #define BD_ADDR_LEN 6
155 extern uint8_t vnd_local_bd_addr[BD_ADDR_LEN];
525 *p++ = BD_ADDR_LEN; /* parameter length */
533 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN;
590 const uint8_t null_bdaddr[BD_ADDR_LEN] = {0,0,0,0,0,0};
804 if (memcmp(p_tmp, null_bdaddr, BD_ADDR_LEN) == 0)
    [all...]
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_gatt.cpp 42 #define BD_ADDR_LEN 6
100 for (i = 0; i < BD_ADDR_LEN; i++)
    [all...]
  /external/bluetooth/bluedroid/stack/include/
bt_types.h 246 #define BDADDR_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *(p)++ = (UINT8) a[BD_ADDR_LEN - 1 - ijk];}
256 #define STREAM_TO_BDADDR(a, p) {register int ijk; register UINT8 *pbda = (UINT8 *)a + BD_ADDR_LEN - 1; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *pbda-- = *p++;}
302 #define BD_ADDR_LEN 6 /* Device address length */
303 typedef UINT8 BD_ADDR[BD_ADDR_LEN]; /* Device address */
  /external/libnfc-nci/src/include/
bt_types.h 230 #define BDADDR_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *(p)++ = (UINT8) a[BD_ADDR_LEN - 1 - ijk];}
240 #define STREAM_TO_BDADDR(a, p) {register int ijk; register UINT8 *pbda = (UINT8 *)a + BD_ADDR_LEN - 1; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *pbda-- = *p++;}
286 #define BD_ADDR_LEN 6 /* Device address length */
287 typedef UINT8 BD_ADDR[BD_ADDR_LEN]; /* Device address */

Completed in 1389 milliseconds