Searched refs:NULL (Results 326 - 350 of 1733) sorted by relevance

<<11121314151617181920>>

/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp65 if (NULL != fieldID) {
77 if (NULL != string && string != env->NewStringUTF("")) {
78 char* bytes = const_cast< char* > (env->GetStringUTFChars(string, NULL));
86 delete [] data; data = NULL;
98 if (NULL != fieldID) {
102 return NULL;
106 char* data = NULL;
107 if (NULL != byteArray) {
128 if (NULL != fieldID) {
151 if (clazz == NULL) {
[all...]
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c50 NULL /* no process_reverse function, no reference stream needed */
216 if (pHandle == NULL || uuid == NULL) {
256 if (handle == NULL) {
271 if (pDescriptor == NULL || uuid == NULL){
272 ALOGE("DownmixLib_Create() called with NULL pointer");
299 if (pDwmModule == NULL) {
303 if (inBuffer == NULL || inBuffer->raw == NULL ||
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp313 source = NULL;
330 source = NULL;
343 if (err == OK && response != NULL) {
357 if (err == OK && response != NULL) {
373 if (bufferProducer == NULL) {
374 msg->setObject("surface", NULL);
405 if (err == OK && response != NULL) {
415 if (err == OK && response != NULL) {
429 if (err == OK && response != NULL) {
440 if (err == OK && response != NULL) {
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp105 if (env != NULL) {
120 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!");
123 if (env == NULL) {
124 JavaVMAttachArgs args = {JNI_VERSION_1_4, NULL, NULL};
129 return NULL;
149 if (env != NULL) {
187 LOG_ALWAYS_FATAL_IF(imageClazz == NULL,
191 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeBuffer == NULL,
196 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeFenceFd == NULL,
[all...]
/frameworks/av/include/media/
H A DAudioEffect.h236 const effect_uuid_t *uuid = NULL,
238 effect_callback_t cbf = NULL,
239 void* user = NULL,
249 const char *uuidStr = NULL,
251 effect_callback_t cbf = NULL,
252 void* user = NULL,
271 const effect_uuid_t *uuid = NULL,
273 effect_callback_t cbf = NULL,
274 void* user = NULL,
/frameworks/av/media/libaudioclient/include/media/
H A DAudioEffect.h236 const effect_uuid_t *uuid = NULL,
238 effect_callback_t cbf = NULL,
239 void* user = NULL,
249 const char *uuidStr = NULL,
251 effect_callback_t cbf = NULL,
252 void* user = NULL,
271 const effect_uuid_t *uuid = NULL,
273 effect_callback_t cbf = NULL,
274 void* user = NULL,
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp138 if (pHandle == NULL || uuid == NULL) {
149 pContext->pEqualizer = NULL;
173 if (pContext == NULL) {
187 if (pDescriptor == NULL || uuid == NULL){
188 ALOGV("EffectGetDescriptor() called with NULL pointer");
230 CHECK_ARG(pContext != NULL);
231 CHECK_ARG(pConfig != NULL);
301 CHECK_ARG(pContext != NULL);
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp169 return NULL;
176 if (mData->mCodec == NULL) { // failed to create codec
178 return NULL;
184 mData->mCallback = NULL;
206 if (mData != NULL) {
207 if (mData->mCodec != NULL) {
212 if (mData->mLooper != NULL) {
213 if (mData->mHandler != NULL) {
234 sp<Surface> surface = NULL;
235 if (window != NULL) {
[all...]
/frameworks/av/radio/
H A DIRadioService.cpp55 if (numModules == NULL || (*numModules != 0 && properties == NULL)) {
60 uint32_t numModulesReq = (properties == NULL) ? 0 : *numModules;
90 config == NULL ? 0 : config, withAudio,
91 config == NULL ? 0 : config->region,
92 config == NULL ? 0 : config->band.type);
93 if (config == NULL) {
130 if (properties == NULL) {
158 struct radio_band_config *configPtr = NULL;
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp52 mOutputSink(NULL),
54 mMixer(NULL),
55 mSinkBuffer(NULL),
58 mMixerBuffer(NULL),
106 if (mMixer != NULL) {
156 if (mOutputSink == NULL) {
177 mMixer = NULL;
179 mMixerBuffer = NULL;
181 mSinkBuffer = NULL;
233 ALOG_ASSERT(mMixerBuffer != NULL);
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp56 jetPlayerEventCallback(int what, int arg1=0, int arg2=0, void* javaTarget = NULL) argument
108 if (lpJet != NULL) {
133 if (lpJet == NULL) {
142 const char *pathStr = env->GetStringUTFChars(path, NULL);
143 if (pathStr == NULL) { // Out of memory
170 if (lpJet == NULL) {
200 if (lpJet == NULL) {
222 if (lpJet == NULL) {
246 if (lpJet == NULL) {
276 if (lpJet == NULL) {
[all...]
H A Dcom_android_internal_os_Zygote.cpp153 int err = sigaction(SIGCHLD, &sa, NULL);
165 int err = sigaction(SIGCHLD, &sa, NULL);
172 // A NULL argument is tolerated.
174 if (javaGids == NULL) {
179 if (gids.get() == NULL) {
192 // contains a tuple of length 3: (resource, rlim_cur, rlim_max). NULL is
195 if (javaRlimits == NULL) {
302 if (fp == NULL) {
311 while ((mentry = getmntent(fp)) != NULL) {
356 NULL, MS_BIN
[all...]
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
155 context = eglCreateContext(dpy, config, NULL, NULL);
180 eglMakeCurrent(sEglDisplay, NULL, NULL, NULL);
207 gettimeofday(&timeTemp, NULL);
214 gettimeofday(&timeNow, NULL);
223 gettimeofday(&timeTemp, NULL);
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp50 mFactory(NULL),
51 mPlugin(NULL) {
56 mPlugin = NULL;
62 mFactory = NULL;
80 * mLibrary is cleared and mFactory are set to NULL
148 index = mLibraryPathToOpenLibraryMap.add(path, NULL);
166 if (createCryptoFactory == NULL ||
167 (mFactory = createCryptoFactory()) == NULL ||
191 if (mPlugin != NULL) {
213 if (mPlugin == NULL) {
[all...]
/frameworks/av/media/libaudioprocessing/
H A DRecordBufferConverter.cpp54 mBuf(NULL), mBufFrames(0), mBufFrameSize(0),
55 mResampler(NULL),
59 mInputConverterProvider(NULL)
72 if (mResampler != NULL) {
80 if (mInputConverterProvider != NULL) {
85 if (mResampler == NULL) {
167 mResampler = NULL;
184 mRequiresFloat = mResampler != NULL || mIsLegacyDownmix || mIsLegacyUpmix;
188 if (mResampler != NULL) {
202 mInputConverterProvider = NULL;
[all...]
/frameworks/av/services/mediaanalytics/
H A DMetricsSummarizer.cpp42 : mIgnorables(NULL)
46 if (key == NULL) {
60 mKey = NULL;
79 if (value == NULL) {
88 if (mKey == NULL)
99 return dumpSummary(slot, NULL);
110 if (only != NULL && strcmp(only, (*it)->getKey().c_str()) != 0) {
135 item == NULL ? "<nothing>" : item->toString().c_str());
137 if (item == NULL) {
152 if (item == NULL) {
[all...]
/frameworks/av/services/mediadrm/
H A DFactoryLoader.h35 mFactory(NULL), mCreateFactoryFuncName(name) {}
41 sp<SharedLibrary> *library = NULL,
42 T** factory = NULL);
73 if (library != NULL) {
76 if (factory != NULL) {
77 *factory = NULL;
94 if (pDir == NULL) {
129 if (pDir == NULL) {
157 if (library != NULL) {
160 if (factory != NULL) {
[all...]
/frameworks/webview/chromium/loader/
H A Dloader.cpp42 void* gReservedAddress = NULL;
54 void* addr = mmap(NULL, vsize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
92 if (handle == NULL) {
117 if (ns == NULL) {
130 if (handle == NULL) {
158 const char* lib_utf8 = env->GetStringUTFChars(lib, NULL);
159 if (lib_utf8 != NULL) {
160 const char* relro_utf8 = env->GetStringUTFChars(relro, NULL);
161 if (relro_utf8 != NULL) {
182 const char* lib_utf8 = env->GetStringUTFChars(lib, NULL);
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp46 mDecoderBuf(NULL),
60 if (mDecoderBuf != NULL) {
62 mDecoderBuf = NULL;
66 mConfig = NULL;
87 def.format.audio.pNativeRender = NULL;
105 def.format.audio.pNativeRender = NULL;
127 notify(OMX_EventError, OMX_ErrorUndefined, OUTPUT_BUFFER_TOO_SMALL, NULL);
129 return NULL;
244 BufferInfo *inInfo = NULL;
245 OMX_BUFFERHEADERTYPE *inHeader = NULL;
[all...]
/frameworks/wilhelm/src/itf/
H A DIObject.cpp30 assert(NULL != thiz);
32 assert(NULL != clazz);
43 if (NULL != realize) {
78 if (NULL != callback) {
79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NULL);
125 result = ThreadPool_add_ppi(&thiz->mEngine->mThreadPool, HandleRealize, thiz, NULL, 0);
138 result = (NULL != realize) ? (*realize)(thiz, async) : SL_RESULT_SUCCESS;
148 if (async && (NULL != callback)) {
150 NULL);
173 assert(NULL !
[all...]
/frameworks/av/drm/common/
H A DDrmMetadata.cpp27 if((value != NULL) && (key != NULL)) {
39 if (NULL != getValue(&key)) {
48 if(key != NULL) {
53 return NULL;
56 return NULL;
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp88 status = mRetriever->setDataSource(NULL /* httpService */, path);
100 METADATA_KEY_MIMETYPE)) != NULL) {
133 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) {
149 return NULL;
156 if (mem != NULL) {
162 return NULL;
/frameworks/av/media/libstagefright/codecs/amrwb/test/
H A Damrwbdec_test.cpp61 if (fpInput == NULL) {
83 if (handle == NULL) {
92 assert(decoderBuf != NULL);
101 assert(inputBuf != NULL);
105 assert(inputSampleBuf != NULL);
109 assert(outputBuf != NULL);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c99 armRetArgErrIf(pSrcRefBuf == NULL, OMX_Sts_BadArgErr);
100 armRetArgErrIf(pRefRect == NULL, OMX_Sts_BadArgErr);
101 armRetArgErrIf(pSrcCurrBuf == NULL, OMX_Sts_BadArgErr);
102 armRetArgErrIf(pSearchPointRefPos == NULL, OMX_Sts_BadArgErr);
103 armRetArgErrIf(pSrcDstMV == NULL, OMX_Sts_BadArgErr);
104 armRetArgErrIf(pDstSAD == NULL, OMX_Sts_BadArgErr);
/frameworks/av/media/libstagefright/rtsp/
H A DSDPLoader.cpp57 if (headers != NULL) {
86 sp<ASessionDescription> desc = NULL;
90 KeyedVector<String8, String8> *headers = NULL;
103 if (headers != NULL) {
105 headers = NULL;
130 if (desc == NULL || !desc->setTo(buffer->data(), (size_t)readSize)) {

Completed in 895 milliseconds

<<11121314151617181920>>