Searched defs:properties (Results 1 - 1 of 1) sorted by relevance
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_btservice_AdapterService.cpp | 22 #include "cutils/properties.h" 90 static int get_properties(int num_properties, bt_property_t *properties, jintArray *types, argument 97 if (properties[i].type == BT_PROPERTY_REMOTE_RSSI) 99 jbyte rssi = *((jbyte *) properties[i].val); 101 properties[i].len = sizeof(rssiValue); 102 properties[i].val = &rssiValue; 105 propVal = callbackEnv->NewByteArray(properties[i].len); 108 callbackEnv->SetByteArrayRegion(propVal, 0, properties[i].len, 109 (jbyte*)properties[i].val); 113 callbackEnv->SetIntArrayRegion(*types, i, 1, (jint *)&properties[ 122 adapter_properties_callback(bt_status_t status, int num_properties, bt_property_t *properties) argument 184 remote_device_properties_callback(bt_status_t status, bt_bdaddr_t *bd_addr, int num_properties, bt_property_t *properties) argument 259 device_found_callback(int num_properties, bt_property_t *properties) argument [all...] |
Completed in 42 milliseconds