• Home
  • Raw
  • Download

Lines Matching refs:NULL

45 static const btsdp_interface_t* sBluetoothSdpInterface = NULL;
54 static jobject sCallbacksObj = NULL;
59 if (btInf == NULL) { in initializeNative()
63 if (sBluetoothSdpInterface != NULL) { in initializeNative()
66 sBluetoothSdpInterface = NULL; in initializeNative()
71 if (sBluetoothSdpInterface == NULL) { in initializeNative()
112 jbyte* addr = env->GetByteArrayElements(address, NULL); in sdpSearchNative()
113 if (addr == NULL) { in sdpSearchNative()
118 jbyte* uuid = env->GetByteArrayElements(uuidObj, NULL); in sdpSearchNative()
162 ScopedLocalRef<jstring> service_name(sCallbackEnv.get(), NULL); in sdp_search_callback()
259 const char* service_name = NULL; in sdpCreateMapMasRecordNative()
260 if (name_str != NULL) { in sdpCreateMapMasRecordNative()
261 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreateMapMasRecordNative()
265 record.mas.hdr.service_name = NULL; in sdpCreateMapMasRecordNative()
298 const char* service_name = NULL; in sdpCreateMapMnsRecordNative()
299 if (name_str != NULL) { in sdpCreateMapMnsRecordNative()
300 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreateMapMnsRecordNative()
304 record.mns.hdr.service_name = NULL; in sdpCreateMapMnsRecordNative()
333 const char* service_name = NULL; in sdpCreatePbapPceRecordNative()
334 if (name_str != NULL) { in sdpCreatePbapPceRecordNative()
335 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreatePbapPceRecordNative()
339 record.pce.hdr.service_name = NULL; in sdpCreatePbapPceRecordNative()
367 const char* service_name = NULL; in sdpCreatePbapPseRecordNative()
368 if (name_str != NULL) { in sdpCreatePbapPseRecordNative()
369 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreatePbapPseRecordNative()
373 record.pse.hdr.service_name = NULL; in sdpCreatePbapPseRecordNative()
405 const char* service_name = NULL; in sdpCreateOppOpsRecordNative()
406 if (name_str != NULL) { in sdpCreateOppOpsRecordNative()
407 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreateOppOpsRecordNative()
411 record.ops.hdr.service_name = NULL; in sdpCreateOppOpsRecordNative()
419 jbyte* formats_list = env->GetByteArrayElements(supported_formats_list, NULL); in sdpCreateOppOpsRecordNative()
420 if (formats_list != NULL) { in sdpCreateOppOpsRecordNative()
453 const char* service_name = NULL; in sdpCreateSapsRecordNative()
454 if (name_str != NULL) { in sdpCreateSapsRecordNative()
455 service_name = env->GetStringUTFChars(name_str, NULL); in sdpCreateSapsRecordNative()
459 record.mas.hdr.service_name = NULL; in sdpCreateSapsRecordNative()
495 if (btInf == NULL) { in cleanupNative()
500 if (sBluetoothSdpInterface != NULL) { in cleanupNative()
503 sBluetoothSdpInterface = NULL; in cleanupNative()
506 if (sCallbacksObj != NULL) { in cleanupNative()
509 sCallbacksObj = NULL; in cleanupNative()