Lines Matching refs:NULL
50 if (descrambler != NULL) { in setDescrambler()
53 if (old != NULL) { in setDescrambler()
64 jbyteArray byteArray = NULL; in getBufferAndSize()
67 CHECK(byteBufClass.get() != NULL); in getBufferAndSize()
69 if (ptr == NULL) { in getBufferAndSize()
72 CHECK(arrayID != NULL); in getBufferAndSize()
77 if (byteArray == NULL) { in getBufferAndSize()
86 if (byteArray != NULL) { in getBufferAndSize()
101 if (mDescrambler == NULL) { in JDescrambler()
102 jniThrowException(env, "java/lang/NullPointerException", NULL); in JDescrambler()
115 if (obj != NULL) { in GetDescrambler()
119 if (hwBinder != NULL) { in GetDescrambler()
124 return NULL; in GetDescrambler()
128 if (mMem != NULL && mMem->size() >= neededSize) { in ensureBufferCapacity()
133 mMem == NULL ? 0 : mMem->size(), neededSize); in ensureBufferCapacity()
145 if (heap == NULL) { in ensureBufferCapacity()
226 setDescrambler(env, thiz, NULL); in android_media_MediaDescrambler_native_release()
232 CHECK(clazz.get() != NULL); in android_media_MediaDescrambler_native_init()
235 CHECK(gFields.context != NULL); in android_media_MediaDescrambler_native_init()
260 (numBytesOfClearDataObj == NULL) in getSubSampleInfo()
261 ? NULL in getSubSampleInfo()
265 (numBytesOfEncryptedDataObj == NULL) in getSubSampleInfo()
266 ? NULL in getSubSampleInfo()
271 if (subSamples == NULL) { in getSubSampleInfo()
278 (numBytesOfClearData == NULL) ? 0 : numBytesOfClearData[i]; in getSubSampleInfo()
281 (numBytesOfEncryptedData == NULL) in getSubSampleInfo()
288 if (numBytesOfEncryptedData != NULL) { in getSubSampleInfo()
291 numBytesOfEncryptedData = NULL; in getSubSampleInfo()
294 if (numBytesOfClearData != NULL) { in getSubSampleInfo()
297 numBytesOfClearData = NULL; in getSubSampleInfo()
317 CHECK(clazz.get() != NULL); in createServiceSpecificException()
320 CHECK(ctor != NULL); in createServiceSpecificException()
323 env, env->NewStringUTF(msg != NULL ? in createServiceSpecificException()
336 if (descrambler == NULL) { in android_media_MediaDescrambler_native_descramble()
352 void *srcPtr = NULL, *dstPtr = NULL; in android_media_MediaDescrambler_native_descramble()
353 jbyteArray srcArray = NULL, dstArray = NULL; in android_media_MediaDescrambler_native_descramble()
358 if (dstBuf == NULL) { in android_media_MediaDescrambler_native_descramble()
382 if (srcArray != NULL) { in android_media_MediaDescrambler_native_descramble()
385 if (dstArray != NULL) { in android_media_MediaDescrambler_native_descramble()
390 jniThrowException(env, "java/lang/OutOfMemoryError", NULL); in android_media_MediaDescrambler_native_descramble()
392 jniThrowException(env, "android/os/RemoteException", NULL); in android_media_MediaDescrambler_native_descramble()