Searched refs:NULL (Results 151 - 175 of 1671) sorted by relevance

1234567891011>>

/frameworks/native/libs/binder/
H A DAppOpsManager.cpp31 if (gToken == NULL) {
47 while (service == NULL || !service->asBinder()->isBinderAlive()) {
49 if (binder == NULL) {
56 return NULL;
71 return service != NULL ? service->checkOperation(op, uid, callingPackage) : MODE_IGNORED;
76 return service != NULL ? service->noteOperation(op, uid, callingPackage) : MODE_IGNORED;
81 return service != NULL ? service->startOperation(getToken(service), op, uid, callingPackage)
87 if (service != NULL) {
95 if (service != NULL) {
102 if (service != NULL) {
[all...]
/frameworks/wilhelm/src/objects/
H A DCEngine.c24 CEngine *theOneTrueEngine = NULL;
43 if ((NULL != theOneTrueEngine) || (0 < theOneTrueRefCount)) {
58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz);
67 (void) pthread_join(thiz->mSyncThread, (void **) NULL);
118 (void) pthread_join(thiz->mSyncThread, (void **) NULL);
127 if (NULL != thiz->mEqPresetNames) {
129 if (NULL != thiz->mEqPresetNames[i]) {
131 thiz->mEqPresetNames[i] = NULL;
135 thiz->mEqPresetNames = NULL;
182 theOneTrueEngine = NULL;
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp100 jobject obj = NULL;
101 jbyteArray array = NULL;
122 ALOGW("EVENT_CONTROL_STATUS_CHANGED info == NULL");
131 ALOGW("EVENT_ENABLE_STATUS_CHANGED info == NULL");
140 ALOGW("EVENT_PARAMETER_CHANGED info == NULL");
151 if (array == NULL) {
155 bytes = env->GetByteArrayElements(array, NULL);
192 fields.clazzEffect = NULL;
193 fields.clazzDesc = NULL;
197 if (clazz == NULL) {
[all...]
H A Dandroid_media_Visualizer.cpp76 waveform_data = NULL;
77 fft_data = NULL;
91 waveform_data = NULL;
96 fft_data = NULL;
139 if (NULL != *array) {
145 *array = NULL;
149 if (NULL != localRef) {
184 if (waveformSize != 0 && waveform != NULL) {
190 if (jArray != NULL) {
191 jbyte *nArray = env->GetByteArrayElements(jArray, NULL);
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp60 mConfig(NULL), mCompiler(), mDebugContext(false),
61 mLinkRuntimeCallback(NULL), mEnableGlobalMerge(true) {
74 if ((pCacheDir == NULL) || (pResName == NULL)) {
76 return NULL;
79 if ((pBitcode == NULL) || (pBitcodeSize <= 0)) {
82 return NULL;
98 return NULL;
106 if ((object_file == NULL) || object_file->hasError()) {
110 return NULL;
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp91 : mClass(NULL),
92 mObject(NULL) {
94 CHECK(clazz != NULL);
114 CHECK((mCodec != NULL) != (mInitStatus != OK));
120 CHECK(mByteBufferClass != NULL);
124 CHECK(byteOrderClass.get() != NULL);
128 CHECK(nativeOrderID != NULL);
133 CHECK(mNativeByteOrderObj != NULL);
135 nativeByteOrderObj = NULL;
141 CHECK(mByteBufferOrderMethodID != NULL);
565 createCodecException( JNIEnv *env, status_t err, int32_t actionCode, const char *msg = NULL) argument
773 throwExceptionAsNecessary( JNIEnv *env, status_t err, int32_t actionCode = ACTION_CODE_FATAL, const char *msg = NULL) argument
[all...]
/frameworks/base/core/jni/
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...]
H A Dandroid_app_NativeActivity.cpp112 nativeWindow = NULL;
117 if (callbacks.onDestroy != NULL) {
120 if (env != NULL && clazz != NULL) {
123 if (messageQueue != NULL && mainWorkRead >= 0) {
126 setSurface(NULL);
129 if (dlhandle != NULL) {
138 if (_surface != NULL) {
141 nativeWindow = NULL;
254 const char* pathStr = env->GetStringUTFChars(path, NULL);
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp36 : m_pConfig(NULL), m_pIRBuilder(NULL),
37 m_pTarget(NULL), m_pBackend(NULL), m_pObjLinker(NULL) {
80 assert(NULL != m_pConfig);
168 assert(NULL != m_pConfig);
169 assert(m_pObjLinker != NULL);
207 assert(NULL != m_pConfig && NULL !
[all...]
/frameworks/rs/
H A DrsProgram.cpp106 if (mUserShader != NULL) {
108 mUserShader = NULL;
115 bindAllocation(NULL, NULL, ct);
119 bindTexture(NULL, ct, NULL);
120 bindSampler(NULL, ct, NULL);
128 mHal.drv = NULL;
129 mHal.state.textures = NULL;
[all...]
H A DrsFBOCache.cpp31 resetAll(NULL);
52 if (a != NULL) {
64 if (a != NULL) {
77 mColorTargets[i].set(NULL);
78 mHal.state.colorTargets[i] = NULL;
80 mDepthTarget.set(NULL);
81 mHal.state.depthTarget = NULL;
/frameworks/wilhelm/src/
H A Dclasses.c44 NULL,
45 NULL,
46 NULL,
215 NULL,
216 NULL,
217 NULL,
218 NULL
244 NULL,
245 NULL,
246 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/compile/libbcc/lib/Core/
H A DSource.cpp39 // return NULL and will NOT take the ownership of pInput.
68 if (input_memory == NULL) {
70 return NULL;
75 if (module == NULL) {
77 return NULL;
81 if (result == NULL) {
95 return NULL;
102 if (module == NULL) {
104 return NULL;
108 if (result == 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/av/media/libstagefright/codecs/amrnb/enc/src/
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/base/tools/aapt/
H A DAaptXml.h38 const char* attr, android::String8* outError = NULL);
46 android::String8* outError = NULL);
54 const char* attr, int32_t defValue = -1, android::String8* outError = NULL);
72 int32_t defValue = -1, android::String8* outError = NULL);
91 android::String8* outError = NULL);
111 android::String8* outError = NULL);
119 android::String8* outError = NULL);
/frameworks/wilhelm/src/itf/
H A DIEffectSend.c43 (CAudioPlayer *) thiz->mThis : NULL;
44 if (NULL == audioPlayer) {
45 return NULL;
56 return NULL;
66 return NULL;
89 return NULL;
123 if (NULL == enableLevel) {
134 (CAudioPlayer *) thiz->mThis : NULL;
135 // note that if this was a MIDI player, getEnableLevel would have returned NULL
136 assert(NULL !
[all...]
H A DIAndroidEffectSend.c36 (CAudioPlayer *) thiz->mThis : NULL;
37 if (NULL == ap) {
65 if (NULL == pEnable) {
94 (CAudioPlayer *) thiz->mThis : NULL;
95 if (NULL != ap) {
121 if (NULL == pDirectLevel) {
127 (CAudioPlayer *) thiz->mThis : NULL;
128 if (NULL != ap) {
156 (CAudioPlayer *) thiz->mThis : NULL;
157 if (NULL
[all...]
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp62 if (pHandle == NULL || uuid == NULL) {
63 ALOGE("EffectProxyCreate() called with NULL pointer");
75 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL;
149 if (pContext == NULL) {
150 ALOGV("ERROR : EffectRelease called with NULL pointer");
164 pContext = NULL;
170 const effect_descriptor_t *desc = NULL;
172 if (pDescriptor == NULL || uuid == NULL) {
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DPlugInManager.h58 ,hHandle(NULL)
59 ,fpCreate(NULL)
60 ,fpDestory(NULL)
61 ,pInstance(NULL)
142 if (NULL == pPlugInContainer->hHandle) {
144 pPlugInContainer = NULL;
154 if (NULL != pPlugInContainer->fpCreate && NULL != pPlugInContainer->fpDestory) {
161 pPlugInContainer = NULL;
183 pPlugInContainer = NULL;
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DInputBuilder.cpp22 m_pCurrentTree(NULL), m_pMove(NULL), m_Root(),
39 m_pCurrentTree(NULL), m_pMove(NULL), m_Root(),
63 assert(NULL != m_pCurrentTree && NULL != m_pMove);
75 assert(NULL != m_pCurrentTree && NULL != m_pMove);
91 assert(NULL != m_pCurrentTree && NULL !
[all...]
/frameworks/opt/emoji/
H A DEmojiFactory.cpp34 static Vector<EmojiFactory *> *g_factories = NULL;
35 static Vector<void *> *g_handles = NULL;
64 if (NULL == ptr) {
68 ptr = NULL;
77 if (handle == NULL) {
88 if (get_emoji_factory == NULL) {
99 if (NULL == factory) {
100 ALOGE("Returned factory is NULL");
124 if (g_factories != NULL) {
132 if (g_handles != NULL) {
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Durimime.c41 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
51 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL);
62 format_mime.mimeType = NULL;
74 audioSnk.pFormat = NULL;
86 assert(NULL == playerObject);
92 assert(NULL == playerObject);
97 &audioSnk, 0, NULL, NUL
[all...]

Completed in 2715 milliseconds

1234567891011>>