Lines Matching refs:NULL
54 static const bthf_interface_t *sBluetoothHfpInterface = NULL;
55 static jobject mCallbacksObj = NULL;
56 static JNIEnv *sCallbackEnv = NULL;
67 if (sCallbackEnv != env || sCallbackEnv == NULL) return false; in checkCallbackThread()
78 return NULL; in marshall_bda()
250 if ((addr = marshall_bda(bd_addr)) == NULL) in wbs_callback()
428 if ( (btInf = getBluetoothInterface()) == NULL) { in initializeNative()
433 if (sBluetoothHfpInterface !=NULL) { in initializeNative()
436 sBluetoothHfpInterface = NULL; in initializeNative()
439 if (mCallbacksObj != NULL) { in initializeNative()
442 mCallbacksObj = NULL; in initializeNative()
446 btInf->get_profile_interface(BT_PROFILE_HANDSFREE_ID)) == NULL) { in initializeNative()
454 sBluetoothHfpInterface = NULL; in initializeNative()
464 if ( (btInf = getBluetoothInterface()) == NULL) { in cleanupNative()
469 if (sBluetoothHfpInterface !=NULL) { in cleanupNative()
472 sBluetoothHfpInterface = NULL; in cleanupNative()
475 if (mCallbacksObj != NULL) { in cleanupNative()
478 mCallbacksObj = NULL; in cleanupNative()
489 addr = env->GetByteArrayElements(address, NULL); in connectHfpNative()
508 addr = env->GetByteArrayElements(address, NULL); in disconnectHfpNative()
527 addr = env->GetByteArrayElements(address, NULL); in connectAudioNative()
547 addr = env->GetByteArrayElements(address, NULL); in disconnectAudioNative()
566 addr = env->GetByteArrayElements(address, NULL); in startVoiceRecognitionNative()
585 addr = env->GetByteArrayElements(address, NULL); in stopVoiceRecognitionNative()
605 addr = env->GetByteArrayElements(address, NULL); in setVolumeNative()
640 addr = env->GetByteArrayElements(address, NULL); in copsResponseNative()
646 operator_name = env->GetStringUTFChars(operator_str, NULL); in copsResponseNative()
666 addr = env->GetByteArrayElements(address, NULL); in cindResponseNative()
689 addr = env->GetByteArrayElements(address, NULL); in atResponseStringNative()
695 response = env->GetStringUTFChars(response_str, NULL); in atResponseStringNative()
712 addr = env->GetByteArrayElements(address, NULL); in atResponseCodeNative()
731 const char *number = NULL; in clccResponseNative()
734 addr = env->GetByteArrayElements(address, NULL); in clccResponseNative()
741 number = env->GetStringUTFChars(number_str, NULL); in clccResponseNative()
761 number = env->GetStringUTFChars(number_str, NULL); in phoneStateChangeNative()
780 addr = env->GetByteArrayElements(address, NULL); in configureWBSNative()