/frameworks/base/services/tests/servicestests/jni/ |
H A D | apf_jni.cpp | 33 (uint8_t*)env->GetByteArrayElements(program, NULL), 35 (uint8_t*)env->GetByteArrayElements(packet, NULL), 77 if (pcap.get() == NULL) { 79 return NULL; 86 return NULL; 103 const uint8_t* apf_program = (uint8_t*)env->GetByteArrayElements(japf_program, NULL); 110 if (bpf_pcap.get() == NULL) { 118 if (apf_pcap.get() == NULL) { 145 } while (apf_packet != NULL && !accept_packet( 149 if (apf_packet == NULL [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.cpp | 36 vm->AttachCurrentThread(&mEnv, NULL); 42 mVM = NULL; 48 if (mVM != NULL) { 50 mVM = NULL; /* not really required; but may help debugging */ 51 mEnv = NULL; /* not really required; but may help debugging */ 78 if ( exClass == NULL ) { 138 if (m == NULL) { 140 return JNIObject<jstring>(*this, NULL); 160 if (utf == NULL) { 200 return JNIObject<jobject>(*this, NULL); [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidEffectSend.c | 36 (CAudioPlayer *) thiz->mThis : NULL; 37 if (NULL == ap) { 64 if (NULL == pEnable) { 93 (CAudioPlayer *) thiz->mThis : NULL; 94 if (NULL != ap) { 120 if (NULL == pDirectLevel) { 126 (CAudioPlayer *) thiz->mThis : NULL; 127 if (NULL != ap) { 155 (CAudioPlayer *) thiz->mThis : NULL; 156 if (NULL [all...] |
H A D | IOutputMix.c | 27 if (NULL == pNumDevices) { 31 // The application can set pDeviceIDs == NULL in order to find out number of devices. 33 if (NULL != pDeviceIDs) { 68 if ((1 != numOutputDevices) || (NULL == pOutputDeviceIDs)) { 96 thiz->mCallback = NULL; 97 thiz->mContext = NULL;
|
H A D | IPitch.c | 45 if (NULL == pPitch) { 65 // per spec, each is optional, and does not require that at least one must be non-NULL 67 if (NULL == pMinPitch && NULL == pMaxPitch) 74 if (NULL != pMinPitch) 76 if (NULL != pMaxPitch)
|
H A D | IRatePitch.c | 44 if (NULL == pRate) { 64 // per spec, each is optional, and does not require that at least one must be non-NULL 66 if (NULL == pMinRate && NULL == pMaxRate) 73 if (NULL != pMinRate) 75 if (NULL != pMaxRate)
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | urimime.c | 41 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...] |
H A D | object.c | 31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 50 if (NULL != string) 53 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, NULL); 64 assert(NULL == interfaceID); 70 result = (*engineEngine)->QuerySupportedInterfaces(engineEngine, objectID, i, NULL); 84 result = (*engineEngine)->QueryNumSupportedExtensions(engineEngine, NULL); 93 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, NULL); 96 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, NULL, [all...] |
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 103 jobject obj = NULL; 104 jbyteArray array = NULL; 125 ALOGW("EVENT_CONTROL_STATUS_CHANGED info == NULL"); 134 ALOGW("EVENT_ENABLE_STATUS_CHANGED info == NULL"); 143 ALOGW("EVENT_PARAMETER_CHANGED info == NULL"); 154 if (array == NULL) { 158 bytes = env->GetByteArrayElements(array, NULL); 221 fields.clazzEffect = NULL; 222 fields.clazzDesc = NULL; 226 if (clazz == NULL) { [all...] |
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 30 ALOG_ASSERT(provider != NULL); 36 if (mBuffer.raw != NULL) { 46 return mBuffer.raw != NULL ? mBuffer.frameCount - mConsumed : 0; 54 if (CC_UNLIKELY(mBuffer.raw == NULL)) { 60 ALOG_ASSERT(mBuffer.raw != NULL); 72 mBuffer.raw = NULL; 100 if (CC_UNLIKELY(mBuffer.raw == NULL)) { 104 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count); 136 mBuffer.raw = NULL;
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 42 : mInputBuffer(NULL), 57 mFirstBuffer(NULL), 71 CHECK(mSource == NULL); 85 CHECK(mSource != NULL); 101 CHECK(mFirstBuffer == NULL); 113 CHECK(mFirstBuffer == NULL); 164 if (mAudioSink.get() != NULL) { 197 useOffload() ? &offloadInfo : NULL); 219 if (mFirstBuffer != NULL) { 221 mFirstBuffer = NULL; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cl_ltp.cpp | 163 if (state == (clLtpState **) NULL){ 167 *state = NULL; 170 if ((s= (clLtpState *) malloc(sizeof(clLtpState))) == NULL){ 216 if (state == (clLtpState **) NULL) 221 *state = NULL; 224 if ((s = (clLtpState *) malloc(sizeof(clLtpState))) == NULL) 285 if (state == (clLtpState *) NULL){ 321 if (state == (clLtpState *) NULL) 378 if (state == NULL || *state == NULL) [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Log.cpp | 52 if (tag == NULL) { 56 const char* chars = env->GetStringUTFChars(tag, NULL); 87 const char* tag = NULL; 88 const char* msg = NULL; 90 if (msgObj == NULL) { 100 if (tagObj != NULL) 101 tag = env->GetStringUTFChars(tagObj, NULL); 102 msg = env->GetStringUTFChars(msgObj, NULL); 106 if (tag != NULL)
|
H A D | android_net_LocalSocketImpl.cpp | 94 if (name == NULL) { 95 jniThrowNullPointerException(env, NULL); 126 cmsgptr != NULL; cmsgptr = CMSG_NXTHDR(pMsg, cmsgptr)) { 144 fdArray = env->NewObjectArray(count, class_FileDescriptor, NULL); 146 if (fdArray == NULL) { 257 int countFds = outboundFds == NULL ? 0 : env->GetArrayLength(outboundFds); 262 if (outboundFds != NULL) { 325 if (fileDescriptor == NULL) { 326 jniThrowNullPointerException(env, NULL); 360 if (fileDescriptor == NULL || buffe [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_rscompat_usage_io_driver.cpp | 18 if(drv->wndBuffer == NULL) { 21 int32_t r = ANativeWindow_lock(nw, drv->wndBuffer, NULL); 42 drv->wndSurface = NULL; 44 old = NULL; 47 if (nw != NULL) { 66 nw = NULL; 80 alloc->mHal.drvState.lod[0].mallocPtr = NULL; 89 drv->wndSurface = NULL; 91 nw = NULL;
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 66 static const char* kAppZipName = NULL; //"classes.jar"; 87 LOG_ALWAYS_FATAL_IF(root == NULL, "ANDROID_DATA not set"); 119 if (str == NULL) 120 return NULL; 142 : mLocale(NULL), mVendor(NULL), 143 mResources(NULL), mConfig(new ResTable_config), 222 if (mResources != NULL) { 242 Asset* idmap = NULL; 243 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | omxVCM4P10_FilterDeblockingChroma_HorEdge_I.c | 79 * - any of the following pointers is NULL: 106 armRetArgErrIf(pSrcDst == NULL, OMX_Sts_BadArgErr); 109 armRetArgErrIf(pAlpha == NULL, OMX_Sts_BadArgErr); 110 armRetArgErrIf(pBeta == NULL, OMX_Sts_BadArgErr); 111 armRetArgErrIf(pThresholds == NULL, OMX_Sts_BadArgErr); 113 armRetArgErrIf(pBS == NULL, OMX_Sts_BadArgErr);
|
H A D | omxVCM4P10_FilterDeblockingChroma_VerEdge_I.c | 78 * - one or more of the following pointers is NULL: pSrcDst, pAlpha, 105 armRetArgErrIf(pSrcDst == NULL, OMX_Sts_BadArgErr); 108 armRetArgErrIf(pAlpha == NULL, OMX_Sts_BadArgErr); 109 armRetArgErrIf(pBeta == NULL, OMX_Sts_BadArgErr); 110 armRetArgErrIf(pThresholds == NULL, OMX_Sts_BadArgErr); 112 armRetArgErrIf(pBS == NULL, OMX_Sts_BadArgErr);
|
H A D | omxVCM4P10_FilterDeblockingLuma_HorEdge_I.c | 76 * - one or more of the following pointers is NULL: pSrcDst, pAlpha, 102 armRetArgErrIf(pSrcDst == NULL, OMX_Sts_BadArgErr); 105 armRetArgErrIf(pAlpha == NULL, OMX_Sts_BadArgErr); 106 armRetArgErrIf(pBeta == NULL, OMX_Sts_BadArgErr); 107 armRetArgErrIf(pThresholds == NULL, OMX_Sts_BadArgErr); 109 armRetArgErrIf(pBS == NULL, OMX_Sts_BadArgErr);
|
H A D | omxVCM4P10_FilterDeblockingLuma_VerEdge_I.c | 76 * is NULL. 101 armRetArgErrIf(pSrcDst == NULL, OMX_Sts_BadArgErr); 104 armRetArgErrIf(pAlpha == NULL, OMX_Sts_BadArgErr); 105 armRetArgErrIf(pBeta == NULL, OMX_Sts_BadArgErr); 106 armRetArgErrIf(pThresholds == NULL, OMX_Sts_BadArgErr); 108 armRetArgErrIf(pBS == NULL, OMX_Sts_BadArgErr);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sampler.c | 10 if (prog == NULL) { 19 if (prog == NULL) { 28 if (prog == NULL) { 37 if (prog == NULL) { 46 if (prog == NULL) {
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioToCbRenderer.cpp | 30 mDecodeCbf(NULL), 31 mDecodeUser(NULL) 56 if (NULL == mDecodeBuffer) { 58 //SL_LOGV("AudioToCbRenderer::onRender NULL buffer, exiting"); 63 if (NULL != mDecodeCbf) { 85 mDecodeBuffer = NULL;
|
H A D | android_LocAVPlayer.cpp | 50 if (mediaPlayerService != NULL) { 55 if (mPlayer == NULL) { 61 // function since it would return NULL anyways. Not having this 67 mediaHTTPService, mDataLocator.uriRef, NULL /*headers*/); 77 if (mPlayer == NULL) { 99 if (mPlayer == NULL) {
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 41 if (service != NULL) { 54 if (NULL == sDrmManagerService.get()) { 56 if (property_get("drm.service.enabled", value, NULL) == 0) { 72 nanosleep(&reqt, NULL); 74 if (NULL == sDeathNotifier.get()) { 97 (NULL != infoListener.get()) ? this : NULL); 102 DrmConstraints *drmConstraints = NULL; 103 if ((NULL != path) && (EMPTY_STRING != *path)) { 111 DrmMetadata *drmMetadata = NULL; [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 95 mPfwConnector->setLogger(NULL); 141 ALOG_ASSERT(root != NULL, "error in parsing file"); 143 for (node = root->first_child; node != NULL; node = node->next) { 145 ALOG_ASSERT(node != NULL, "error in parsing file"); 154 while (valueName != NULL) { 159 if (strchr(valueName, ':') != NULL) { 162 char *second = strtok(NULL, ":"); 163 ALOG_ASSERT((first != NULL) && (strlen(first) != 0) && 164 (second != NULL) && (strlen(second) != 0), 178 valueName = strtok_r(NULL, ",", [all...] |