• Home
  • Raw
  • Download

Lines Matching refs:address

80 static RawAddress str2addr(JNIEnv* env, jstring address) {  in str2addr()  argument
82 const char* c_address = env->GetStringUTFChars(address, NULL); in str2addr()
86 env->ReleaseStringUTFChars(address, c_address); in str2addr()
94 bda->address[0], bda->address[1], bda->address[2], bda->address[3], in bdaddr2newjstr()
95 bda->address[4], bda->address[5]); in bdaddr2newjstr()
217 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_scan_result_cb() local
225 addr_type, address.get(), primary_phy, in btgattc_scan_result_cb()
235 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_open_cb() local
238 conn_id, status, address.get()); in btgattc_open_cb()
246 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_close_cb() local
249 conn_id, status, address.get()); in btgattc_close_cb()
273 ScopedLocalRef<jstring> address( in btgattc_notify_cb() local
281 address.get(), p_data.handle, p_data.is_notify, in btgattc_notify_cb()
352 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgattc_remote_rssi_cb() local
356 client_if, address.get(), rssi, status); in btgattc_remote_rssi_cb()
397 ScopedLocalRef<jstring> address( in btgattc_track_adv_event_cb() local
423 p_adv_track_info->advertiser_info_present, address.get(), in btgattc_track_adv_event_cb()
576 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_connection_cb() local
579 address.get(), connected, conn_id, server_if); in btgatts_connection_cb()
622 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_request_read_characteristic_cb() local
625 address.get(), conn_id, trans_id, attr_handle, in btgatts_request_read_characteristic_cb()
635 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_request_read_descriptor_cb() local
638 address.get(), conn_id, trans_id, attr_handle, in btgatts_request_read_descriptor_cb()
650 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_request_write_characteristic_cb() local
658 mCallbacksObj, method_onServerWriteCharacteristic, address.get(), conn_id, in btgatts_request_write_characteristic_cb()
671 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_request_write_descriptor_cb() local
679 address.get(), conn_id, trans_id, attr_handle, in btgatts_request_write_descriptor_cb()
689 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in btgatts_request_exec_write_cb() local
692 address.get(), conn_id, trans_id, exec_write); in btgatts_request_exec_write_cb()
939 jstring address) { in gattClientGetDeviceTypeNative() argument
941 return sGattIf->client->get_device_type(str2addr(env, address)); in gattClientGetDeviceTypeNative()
988 jstring address, jboolean isDirect, in gattClientConnectNative() argument
993 sGattIf->client->connect(clientif, str2addr(env, address), isDirect, in gattClientConnectNative()
998 jint clientIf, jstring address, in gattClientDisconnectNative() argument
1001 sGattIf->client->disconnect(clientIf, str2addr(env, address), conn_id); in gattClientDisconnectNative()
1005 jint clientIf, jstring address, in gattClientSetPreferredPhyNative() argument
1009 sGattIf->client->set_preferred_phy(str2addr(env, address), tx_phy, rx_phy, in gattClientSetPreferredPhyNative()
1018 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in readClientPhyCb() local
1022 address.get(), tx_phy, rx_phy, status); in readClientPhyCb()
1026 jstring address) { in gattClientReadPhyNative() argument
1029 RawAddress bda = str2addr(env, address); in gattClientReadPhyNative()
1034 jstring address) { in gattClientRefreshNative() argument
1037 sGattIf->client->refresh(clientIf, str2addr(env, address)); in gattClientRefreshNative()
1143 JNIEnv* env, jobject object, jint clientIf, jstring address, jint handle, in gattClientRegisterForNotificationsNative() argument
1147 RawAddress bd_addr = str2addr(env, address); in gattClientRegisterForNotificationsNative()
1155 jint clientif, jstring address) { in gattClientReadRemoteRssiNative() argument
1158 sGattIf->client->read_remote_rssi(clientif, str2addr(env, address)); in gattClientReadRemoteRssiNative()
1308 ScopedLocalRef<jstring> address( in gattClientScanFilterAddNative() local
1310 if (address.get() != NULL) { in gattClientScanFilterAddNative()
1311 curr.address = str2addr(env, address.get()); in gattClientScanFilterAddNative()
1403 jint client_if, jstring address, in gattConnectionParameterUpdateNative() argument
1410 str2addr(env, address), min_interval, max_interval, latency, timeout, in gattConnectionParameterUpdateNative()
1480 jstring address, jboolean is_direct, in gattServerConnectNative() argument
1484 RawAddress bd_addr = str2addr(env, address); in gattServerConnectNative()
1489 jint serverIf, jstring address, in gattServerDisconnectNative() argument
1492 sGattIf->server->disconnect(serverIf, str2addr(env, address), conn_id); in gattServerDisconnectNative()
1496 jint serverIf, jstring address, in gattServerSetPreferredPhyNative() argument
1500 RawAddress bda = str2addr(env, address); in gattServerSetPreferredPhyNative()
1509 ScopedLocalRef<jstring> address(sCallbackEnv.get(), in readServerPhyCb() local
1513 address.get(), tx_phy, rx_phy, status); in readServerPhyCb()
1517 jstring address) { in gattServerReadPhyNative() argument
1520 RawAddress bda = str2addr(env, address); in gattServerReadPhyNative()
1842 RawAddress address) { in getOwnAddressCb() argument
1847 bdaddr2newjstr(sCallbackEnv.get(), &address)); in getOwnAddressCb()
1993 uint8_t sid, uint8_t address_type, RawAddress address, in onSyncStarted() argument
1999 reg_id, sync_handle, sid, address_type, address, in onSyncStarted()
2027 jstring address, jint skip, jint timeout, in startSyncNative() argument
2031 sGattIf->scanner->StartSync(sid, str2addr(env, address), skip, timeout, in startSyncNative()