Searched refs:NULL (Results 126 - 150 of 1733) sorted by relevance

1234567891011>>

/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp57 : mClass(NULL),
58 mObject(NULL) {
60 CHECK(clazz != NULL);
72 mObject = NULL;
74 mClass = NULL;
148 jbyteArray byteArray = NULL;
151 CHECK(byteBufClass.get() != NULL);
153 if (dst == NULL) {
156 CHECK(arrayID != NULL);
161 if (byteArray == NULL) {
[all...]
H A Dandroid_media_MediaPlayer.cpp109 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);
1223 throwDrmExceptionAsNecessary(JNIEnv *env, status_t err, const char *msg = NULL) argument
[all...]
H A Dandroid_media_MediaDescrambler.cpp47 if (descrambler != NULL) {
50 if (old != NULL) {
61 jbyteArray byteArray = NULL;
64 CHECK(byteBufClass.get() != NULL);
66 if (ptr == NULL) {
69 CHECK(arrayID != NULL);
74 if (byteArray == NULL) {
83 if (byteArray != NULL) {
98 if (descramblerBinderObj != NULL) {
112 if (mMem != NULL
[all...]
H A Dandroid_mtp_MtpDevice.cpp192 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL);
193 if (deviceNameStr == NULL) {
205 return (jboolean)(device != NULL);
225 return NULL;
230 return NULL;
233 if (info == NULL) {
235 return NULL;
256 if (elements.get() == NULL) {
258 return NULL;
272 if (elements.get() == NULL) {
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dsid_sync.cpp115 to a NULL address (int)
170 if (state == NULL)
176 *state = NULL;
180 malloc(sizeof(sid_syncState))) == NULL)
298 stores NULL in *state.
339 if (st == NULL || *st == NULL)
346 *st = NULL;
H A Dg_adapt.cpp163 if (st == (GainAdaptState **) NULL)
168 *st = NULL;
171 if ((s = (GainAdaptState *) malloc(sizeof(GainAdaptState))) == NULL)
249 if (st == (GainAdaptState *) NULL)
332 if (st == NULL || *st == NULL)
337 *st = NULL;
H A Dpre_proc.cpp171 if (state == (Pre_ProcessState **) NULL){
175 *state = NULL;
178 if ((s= (Pre_ProcessState *) malloc(sizeof(Pre_ProcessState))) == NULL){
216 if (state == (Pre_ProcessState **) NULL)
221 *state = NULL;
224 if ((s = (Pre_ProcessState *) malloc(sizeof(Pre_ProcessState))) == NULL)
282 if (state == (Pre_ProcessState *) NULL){
322 if (state == (Pre_ProcessState *) NULL)
352 state points to a NULL address
383 if (state == NULL || *stat
[all...]
/frameworks/av/services/audioflinger/
H A DFastMixerState.cpp26 mBufferProvider(NULL), mVolumeProvider(NULL),
37 mFastTracksGen(0), mTrackMask(0), mOutputSink(NULL), mOutputSinkGen(0),
38 mFrameCount(0), mTeeSink(NULL)
60 if (str != NULL) {
75 if (property_get("ro.audio.max_fast_tracks", value, NULL) > 0) {
H A DBufLog.cpp35 BufLog *BufLogSingleton::mInstance = NULL;
51 return mInstance != NULL;
67 if (pBLStream != NULL) {
69 mStreams[id] = NULL;
81 if (pBLStream == NULL) {
84 ALOG_ASSERT(pBLStream != NULL, "BufLogStream Failed to be created");
97 if (pBLStream != NULL) {
99 mStreams[id] = NULL;
119 if (tag != NULL) {
131 gettimeofday(&tv, NULL);
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_AndroidBidi.cpp36 jchar* chs = env->GetCharArrayElements(chsArray, NULL);
37 if (chs != NULL) {
38 jbyte* info = env->GetByteArrayElements(infoArray, NULL);
39 if (info != NULL) {
45 ubidi_setPara(bidi, chs, n, dir, NULL, &status);
52 jniThrowException(env, "java/lang/RuntimeException", NULL);
H A Dandroid_app_backup_FullBackup.cpp87 const char* packagenamechars = (packageNameObj) ? env->GetStringUTFChars(packageNameObj, NULL) : NULL;
88 const char* rootchars = (rootpathObj) ? env->GetStringUTFChars(rootpathObj, NULL) : NULL;
89 const char* pathchars = (pathObj) ? env->GetStringUTFChars(pathObj, NULL) : NULL;
90 const char* domainchars = (domainObj) ? env->GetStringUTFChars(domainObj, NULL) : NULL;
102 // Extract the data output fd. 'writer' ends up NULL in the measure-only case.
104 BackupDataWriter* writer = (bdo != NULL)
[all...]
H A Dandroid_os_SystemProperties.cpp36 jstring rvJ = NULL;
38 if (keyJ == NULL) {
43 key = env->GetStringUTFChars(keyJ, NULL);
46 if ((len <= 0) && (defJ != NULL)) {
63 return SystemProperties_getSS(env, clazz, keyJ, NULL);
75 if (keyJ == NULL) {
80 key = env->GetStringUTFChars(keyJ, NULL);
105 if (keyJ == NULL) {
110 key = env->GetStringUTFChars(keyJ, NULL);
134 if (keyJ == NULL) {
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Ddual.c34 xaResult = xaCreateEngine(&xaEngineObject, 0, NULL, 0, NULL, NULL);
51 slResult = slCreateEngine(&slEngineObject, 0, NULL, 0, NULL, NULL);
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp55 if (ap == NULL) return 0;
64 if (ap == NULL) return JNI_FALSE;
75 if (ap == NULL) return 0;
84 if (ap == NULL) return;
93 if (ap == NULL) return;
102 if (ap == NULL) return;
111 if (ap == NULL) return;
120 if (ap == NULL) return;
130 if (ap == NULL) return;
139 if (ap == NULL) retur
[all...]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c32 struct usb_device *sDevice = NULL;
51 return NULL;
66 return NULL;
74 nanosleep(&tm, NULL);
105 struct usb_interface_descriptor *intf = NULL;
106 struct usb_endpoint_descriptor *ep1 = NULL;
107 struct usb_endpoint_descriptor *ep2 = NULL;
113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) {
139 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep1->bEndpointAddress);
140 pthread_create(&th, NULL, write_threa
[all...]
/frameworks/wilhelm/src/
H A Dentry.cpp41 if (NULL == pEngine) {
45 *pEngine = NULL;
47 if ((0 < numOptions) && (NULL == pEngineOptions)) {
48 SL_LOGE("numOptions=%u and pEngineOptions=NULL", numOptions);
81 assert(NULL != pCEngine_class);
83 pInterfaceIds, pInterfaceRequired, &exposedMask, NULL);
90 if (NULL != thiz) {
115 if ((NULL == expose) || (*expose)((char *) thiz + x->mOffset)) {
141 thiz = (CEngine *) construct(pCEngine_class, exposedMask, NULL);
142 if (NULL
[all...]
H A Dclasses.cpp44 NULL,
45 NULL,
46 NULL,
218 NULL,
219 NULL,
220 NULL,
221 NULL
247 NULL,
248 NULL,
249 NULL,
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashIterator.h29 : m_pHashTable(NULL), m_Index(0), m_HashValue(0), m_EndIndex(0) {}
72 if (m_pHashTable == NULL)
73 return NULL;
78 if (m_pHashTable == NULL)
79 return NULL;
84 if (m_pHashTable == NULL)
85 return NULL;
90 if (m_pHashTable == NULL)
91 return NULL;
96 m_pHashTable = NULL;
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp30 return NULL;
36 return NULL;
43 if (*sect_iter != NULL && (*sect_iter)->name() == pName)
46 return NULL;
52 if (*sect_iter != NULL && (*sect_iter)->name() == pName)
55 return NULL;
69 return NULL;
75 return NULL;
85 return NULL;
94 return NULL;
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp35 : m_pConfig(NULL),
36 m_pIRBuilder(NULL),
37 m_pTarget(NULL),
38 m_pBackend(NULL),
39 m_pObjLinker(NULL) {
78 assert(m_pConfig != NULL);
166 assert(m_pConfig != NULL);
167 assert(m_pObjLinker != NULL);
203 assert(m_pConfig != NULL && m_pObjLinker != NULL);
[all...]
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp74 if (pContext->mCompressor != NULL) {
164 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL;
165 pContext->mConfig.inputCfg.bufferProvider.releaseBuffer = NULL;
166 pContext->mConfig.inputCfg.bufferProvider.cookie = NULL;
172 pContext->mConfig.outputCfg.bufferProvider.getBuffer = NULL;
173 pContext->mConfig.outputCfg.bufferProvider.releaseBuffer = NULL;
174 pContext->mConfig.outputCfg.bufferProvider.cookie = NULL;
181 if (pContext->mCompressor == NULL) {
202 if (pHandle == NULL || uuid == NULL) {
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_SubAndTransformQDQResidual.c58 * parameter is not required, it is set to NULL.
70 * if this parameter is not equal to NULL. 8-byte alignment
73 * is not equal to NULL.
80 * - at least one of the following pointers is NULL:
111 armRetArgErrIf(pSrcOrg == NULL, OMX_Sts_BadArgErr)
112 armRetArgErrIf(pDstDeQuantCoeff == NULL, OMX_Sts_BadArgErr)
113 armRetArgErrIf(pNumCoeff == NULL, OMX_Sts_BadArgErr)
114 armRetArgErrIf(pDCCoeff == NULL, OMX_Sts_BadArgErr)
116 armRetArgErrIf(pSrcPred == NULL, OMX_Sts_BadArgErr)
118 armRetArgErrIf(pDstQuantCoeff == NULL, OMX_Sts_BadArgEr
[all...]
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp59 if (pHandle == NULL || uuid == NULL) {
60 ALOGE("EffectProxyCreate() called with NULL pointer");
72 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL;
147 if (pContext == NULL) {
148 ALOGV("ERROR : EffectRelease called with NULL pointer");
162 pContext = NULL;
168 const effect_descriptor_t *desc = NULL;
170 if (pDescriptor == NULL || uuid == NULL) {
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dsp_dec.cpp145 to by state is set to NULL
147 by state is set to NULL
149 by state is set to NULL
190 if (state == (Speech_Decode_FrameState **) NULL){
194 *state = NULL;
198 malloc(sizeof(Speech_Decode_FrameState))) == NULL) {
203 s->decoder_amrState = NULL;
204 s->post_state = NULL;
205 s->postHP_state = NULL;
251 if (state_data == NULL)
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_SyntheticPasswordManager.cpp38 jbyte* data = (jbyte*)env->GetPrimitiveArrayCritical(handleArray, NULL);
40 if (data != NULL) {
53 return NULL;
60 jbyte* passwordPtr = (jbyte*)env->GetByteArrayElements(password, NULL);
61 jbyte* saltPtr = (jbyte*)env->GetByteArrayElements(salt, NULL);
62 jbyte* retPtr = (jbyte*)env->GetByteArrayElements(ret, NULL);
75 return NULL;

Completed in 1130 milliseconds

1234567891011>>