Lines Matching defs:NULL

109     virtual void notify(int msg, int ext1, int ext2, const Parcel *obj = NULL);
122 if (clazz == NULL) {
124 jniThrowException(env, "java/lang/Exception", NULL);
147 if (jParcel != NULL) {
156 msg, ext1, ext2, NULL);
188 // If exception is NULL and opStatus is not OK, this method sends an error
189 // event to the client application; otherwise, if exception is not NULL and
194 if (exception == NULL) { // Don't throw exception. Instead, send an event.
201 jniThrowException(env, "java/lang/IllegalStateException", NULL);
203 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
205 jniThrowException(env, "java/lang/SecurityException", NULL);
226 if (mp == NULL ) {
227 jniThrowException(env, "java/lang/IllegalStateException", NULL);
231 if (path == NULL) {
232 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
236 const char *tmp = env->GetStringUTFChars(path, NULL);
237 if (tmp == NULL) { // Out of memory
244 tmp = NULL;
254 if (httpServiceBinderObj != NULL) {
263 headersVector.size() > 0? &headersVector : NULL);
274 if (mp == NULL ) {
275 jniThrowException(env, "java/lang/IllegalStateException", NULL);
279 if (fileDescriptor == NULL) {
280 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
292 if (mp == NULL ) {
293 jniThrowException(env, "java/lang/IllegalStateException", NULL);
297 if (dataSource == NULL) {
298 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
315 if (mp == NULL) {
320 if (old_st != NULL) {
329 if (mp == NULL) {
331 jniThrowException(env, "java/lang/IllegalStateException", NULL);
341 if (surface != NULL) {
343 if (new_st == NULL) {
375 if (mp == NULL) {
376 jniThrowException(env, "java/lang/IllegalStateException", NULL);
377 return NULL;
394 if (mp == NULL) {
395 jniThrowException(env, "java/lang/IllegalStateException", NULL);
396 return NULL;
412 if (params == NULL) {
417 if (mp == NULL) {
418 jniThrowException(env, "java/lang/IllegalStateException", NULL);
435 if (mp == NULL ) {
436 jniThrowException(env, "java/lang/IllegalStateException", NULL);
452 if (mp == NULL ) {
453 jniThrowException(env, "java/lang/IllegalStateException", NULL);
470 if (mp == NULL ) {
471 jniThrowException(env, "java/lang/IllegalStateException", NULL);
474 process_media_player_call( env, thiz, mp->start(), NULL, NULL );
482 if (mp == NULL ) {
483 jniThrowException(env, "java/lang/IllegalStateException", NULL);
486 process_media_player_call( env, thiz, mp->stop(), NULL, NULL );
494 if (mp == NULL ) {
495 jniThrowException(env, "java/lang/IllegalStateException", NULL);
498 process_media_player_call( env, thiz, mp->pause(), NULL, NULL );
505 if (mp == NULL ) {
506 jniThrowException(env, "java/lang/IllegalStateException", NULL);
519 if (mp == NULL) {
520 jniThrowException(env, "java/lang/IllegalStateException", NULL);
565 if (mp == NULL) {
566 jniThrowException(env, "java/lang/IllegalStateException", NULL);
567 return NULL;
590 if (mp == NULL) {
591 jniThrowException(env, "java/lang/IllegalStateException", NULL);
633 if (mp == NULL) {
634 jniThrowException(env, "java/lang/IllegalStateException", NULL);
635 return NULL;
652 jniThrowException(env, "java/lang/IllegalStateException", NULL);
653 return NULL;
668 if (mp == NULL ) {
669 jniThrowException(env, "java/lang/IllegalStateException", NULL);
673 process_media_player_call( env, thiz, mp->seekTo((int)msec, (MediaPlayerSeekMode)mode), NULL, NULL );
680 if (mp == NULL ) {
681 jniThrowException(env, "java/lang/IllegalStateException", NULL);
697 if (mp == NULL ) {
698 jniThrowException(env, "java/lang/IllegalStateException", NULL);
714 if (mp == NULL ) {
715 jniThrowException(env, "java/lang/IllegalStateException", NULL);
724 return (jobject) NULL;
729 jobject mybundle = MediaMetricsJNI::writeMetricsToBundle(env, item, NULL);
733 item = NULL;
742 if (mp == NULL ) {
743 jniThrowException(env, "java/lang/IllegalStateException", NULL);
747 process_media_player_call( env, thiz, mp->getCurrentPosition(&msec), NULL, NULL );
756 if (mp == NULL ) {
757 jniThrowException(env, "java/lang/IllegalStateException", NULL);
761 process_media_player_call( env, thiz, mp->getDuration(&msec), NULL, NULL );
771 if (mp == NULL ) {
772 jniThrowException(env, "java/lang/IllegalStateException", NULL);
775 process_media_player_call( env, thiz, mp->reset(), NULL, NULL );
783 if (mp == NULL ) {
784 jniThrowException(env, "java/lang/IllegalStateException", NULL);
787 process_media_player_call( env, thiz, mp->setAudioStreamType((audio_stream_type_t) streamtype) , NULL, NULL );
794 if (mp == NULL ) {
795 jniThrowException(env, "java/lang/IllegalStateException", NULL);
799 process_media_player_call( env, thiz, mp->getAudioStreamType(&streamtype), NULL, NULL );
809 if (mp == NULL ) {
810 jniThrowException(env, "java/lang/IllegalStateException", NULL);
828 if (mp == NULL ) {
829 jniThrowException(env, "java/lang/IllegalStateException", NULL);
832 process_media_player_call( env, thiz, mp->setLooping(looping), NULL, NULL );
840 if (mp == NULL ) {
841 jniThrowException(env, "java/lang/IllegalStateException", NULL);
852 if (mp == NULL ) {
853 jniThrowException(env, "java/lang/IllegalStateException", NULL);
856 process_media_player_call( env, thiz, mp->setVolume((float) leftVolume, (float) rightVolume), NULL, NULL );
866 if (media_player == NULL ) {
867 jniThrowException(env, "java/lang/IllegalStateException", NULL);
884 if (media_player == NULL ) {
885 jniThrowException(env, "java/lang/IllegalStateException", NULL);
891 if (filter == NULL ) {
904 if (media_player == NULL ) {
905 jniThrowException(env, "java/lang/IllegalStateException", NULL);
911 if (metadata == NULL ) {
937 if (clazz == NULL) {
942 if (fields.context == NULL) {
948 if (fields.post_event == NULL) {
953 if (fields.surface_texture == NULL) {
960 if (clazz == NULL) {
999 if (mp == NULL) {
1018 if (mp != NULL) {
1030 if (mp != NULL) {
1040 if (mp == NULL ) {
1041 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1044 process_media_player_call( env, thiz, mp->setAudioSessionId((audio_session_t) sessionId), NULL,
1045 NULL);
1051 if (mp == NULL ) {
1052 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1064 if (mp == NULL ) {
1065 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1068 process_media_player_call( env, thiz, mp->setAuxEffectSendLevel(level), NULL, NULL );
1074 if (mp == NULL ) {
1075 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1078 process_media_player_call( env, thiz, mp->attachAuxEffect(effectId), NULL, NULL );
1087 if (service.get() == NULL) {
1101 if (mp == NULL ) {
1102 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1106 const char *cAddrString = NULL;
1108 if (NULL != addrString) {
1109 cAddrString = env->GetStringUTFChars(addrString, NULL);
1110 if (cAddrString == NULL) { // Out of memory
1125 if (NULL != addrString) {
1130 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1141 if (thisplayer == NULL) {
1145 sp<MediaPlayer> nextplayer = (java_player == NULL) ? NULL : getMediaPlayer(env, java_player);
1146 if (nextplayer == NULL && java_player != NULL) {
1223 static bool throwDrmExceptionAsNecessary(JNIEnv *env, status_t err, const char *msg = NULL)
1280 if (drmMessage != NULL) {
1281 if (msg == NULL) {
1307 if (mp == NULL) {
1308 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1312 if (uuidObj == NULL) {
1313 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
1358 if (mp == NULL ) {
1359 jniThrowException(env, "java/lang/IllegalStateException", NULL);
1466 JNIEnv* env = NULL;
1473 assert(env != NULL);