Searched refs:name_str (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_sdp.cpp | 221 jstring name_str, jint mas_id, jint scn, in sdpCreateMapMasRecordNative() argument 231 if (name_str != NULL) { in sdpCreateMapMasRecordNative() 232 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreateMapMasRecordNative() 255 if (service_name) env->ReleaseStringUTFChars(name_str, service_name); in sdpCreateMapMasRecordNative() 260 jstring name_str, jint scn, in sdpCreateMapMnsRecordNative() argument 270 if (name_str != NULL) { in sdpCreateMapMnsRecordNative() 271 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreateMapMnsRecordNative() 292 if (service_name) env->ReleaseStringUTFChars(name_str, service_name); in sdpCreateMapMnsRecordNative() 297 jstring name_str, jint version) { in sdpCreatePbapPceRecordNative() argument 305 if (name_str != NULL) { in sdpCreatePbapPceRecordNative() [all …]
|
D | com_android_bluetooth_hap_client.cpp | 203 ScopedLocalRef<jstring> name_str(sCallbackEnv.get(), in OnPresetInfo() local 205 if (!name_str.get()) { in OnPresetInfo() 213 (jint)info.preset_index, name_str.get(), (jboolean)info.writable, in OnPresetInfo() 535 std::string name_str; in setPresetNameNative() local 538 name_str = std::string(value); in setPresetNameNative() 544 std::move(name_str)); in setPresetNameNative() 557 std::string name_str; in groupSetPresetNameNative() local 560 name_str = std::string(value); in groupSetPresetNameNative() 565 std::move(name_str)); in groupSetPresetNameNative()
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 1941 const char* name_str = env->GetStringUTFChars(name, NULL); in interopMatchNameNative() local 1942 if (!name_str) { in interopMatchNameNative() 1949 sBluetoothInterface->interop_match_name(feature_name_str, name_str); in interopMatchNameNative() 1951 env->ReleaseStringUTFChars(name, name_str); in interopMatchNameNative() 2054 const char* name_str = env->GetStringUTFChars(name, NULL); in interopDatabaseAddRemoveNameNative() local 2055 if (!name_str) { in interopDatabaseAddRemoveNameNative() 2062 (do_add == JNI_TRUE), feature_name_str, name_str); in interopDatabaseAddRemoveNameNative() 2065 env->ReleaseStringUTFChars(name, name_str); in interopDatabaseAddRemoveNameNative()
|
D | com_android_bluetooth_hfp.cpp | 864 jint type, jstring name_str, in phoneStateChangeNative() argument 879 if (name_str != nullptr) { in phoneStateChangeNative() 880 name = env->GetStringUTFChars(name_str, nullptr); in phoneStateChangeNative() 892 env->ReleaseStringUTFChars(name_str, name); in phoneStateChangeNative()
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_ctp.cc | 172 auto name_str = name.value_or(""); in ToCharacteristicValue() local 173 value.resize(2 + name_str.length()); in ToCharacteristicValue() 179 memcpy(pp, name_str.c_str(), name_str.length()); in ToCharacteristicValue()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_iot_config.cc | 50 std::string name_str{(char*)bd_name}; in btm_iot_save_remote_properties() local 52 IOT_CONF_KEY_REMOTE_NAME, name_str); in btm_iot_save_remote_properties()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_hf.cc | 1373 std::string name_str; in PhoneStateChange() local 1375 name_str.append(name); in PhoneStateChange() 1380 13 + static_cast<int>(number_str.length() + name_str.length()) - in PhoneStateChange() 1384 overflow_size - static_cast<int>(name_str.length()); in PhoneStateChange() 1387 name_str.clear(); in PhoneStateChange() 1389 name_str.resize(name_str.length() - overflow_size); in PhoneStateChange() 1404 if (res == BTA_AG_CALL_WAIT_RES || name_str.empty()) { in PhoneStateChange() 1408 << name_str << "\""; in PhoneStateChange()
|