/frameworks/wilhelm/src/ |
D | sles.c | 32 assert(NULL != thiz); in IsInterfaceInitialized() 35 assert(NULL != clazz); in IsInterfaceInitialized() 56 assert(NULL != thiz); in IObjectToObjectID() 59 assert(NULL != clazz); in IObjectToObjectID() 76 if (NULL == object) { in AcquireStrongRef() 129 assert(NULL != object); in ReleaseStrongRef() 155 assert(NULL != clazz && NULL != pExposedMask); in checkInterfaces() 168 if (NULL != MPH_init_table[interfaces[i].mMPH].mInit) { in checkInterfaces() 183 if (NULL == pInterfaceIds || NULL == pInterfaceRequired) { in checkInterfaces() 190 if (NULL == iid) { in checkInterfaces() [all …]
|
D | handlers.h | 44 #define handler_MediaPlayer_gain NULL 45 #define handler_MediaPlayer_transport NULL 46 #define handler_MediaPlayer_position NULL 47 #define handler_MediaPlayer_abq_enqueue NULL 48 #define handler_MediaPlayer_play_state NULL 49 #define handler_AudioPlayer_transport NULL 50 #define handler_AudioPlayer_position NULL 51 #define handler_AudioPlayer_bq_enqueue NULL 52 #define handler_AudioPlayer_abq_enqueue NULL 53 #define handler_AudioPlayer_play_state NULL [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ConfigLocale_test.cpp | 118 if (lang != NULL) { in fillIn() 122 if (country != NULL) { in fillIn() 126 if (script != NULL) { in fillIn() 134 if (variant != NULL) { in fillIn() 143 fillIn("en", NULL, NULL, NULL, &l); in TEST() 144 fillIn(NULL, NULL, NULL, NULL, &r); in TEST() 149 fillIn("eng", NULL, NULL, NULL, &l); in TEST() 153 fillIn("eng", "419", NULL, NULL, &r); in TEST() 157 fillIn("en", NULL, NULL, NULL, &l); in TEST() 158 fillIn("en", "US", NULL, NULL, &r); in TEST() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFFileFormat.h | 43 return (f_pNULLSection != NULL) && (f_pNULLSection->size() != 0); in hasNULLSection() 46 bool hasGOT() const { return (f_pGOT != NULL) && (f_pGOT->size() != 0); } in hasGOT() 48 bool hasPLT() const { return (f_pPLT != NULL) && (f_pPLT->size() != 0); } in hasPLT() 51 return (f_pRelDyn != NULL) && (f_pRelDyn->size() != 0); in hasRelDyn() 55 return (f_pRelPlt != NULL) && (f_pRelPlt->size() != 0); in hasRelPlt() 59 return (f_pRelaDyn != NULL) && (f_pRelaDyn->size() != 0); in hasRelaDyn() 63 return (f_pRelaPlt != NULL) && (f_pRelaPlt->size() != 0); in hasRelaPlt() 68 return (f_pComment != NULL) && (f_pComment->size() != 0); in hasComment() 72 return (f_pData1 != NULL) && (f_pData1->size() != 0); in hasData1() 76 return (f_pDebug != NULL) && (f_pDebug->size() != 0); in hasDebug() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecList.cpp | 36 if (mcl == NULL) { in getCodecList() 47 if (mcl == NULL) { in android_media_MediaCodecList_getCodecCount() 57 if (mcl == NULL) { in android_media_MediaCodecList_getCodecName() 59 return NULL; in android_media_MediaCodecList_getCodecName() 63 if (info == NULL) { in android_media_MediaCodecList_getCodecName() 64 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_media_MediaCodecList_getCodecName() 65 return NULL; in android_media_MediaCodecList_getCodecName() 74 if (name == NULL) { in android_media_MediaCodecList_findCodecByName() 75 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_media_MediaCodecList_findCodecByName() 79 const char *nameStr = env->GetStringUTFChars(name, NULL); in android_media_MediaCodecList_findCodecByName() [all …]
|
D | android_media_MediaPlayer.cpp | 84 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj = NULL); 97 if (clazz == NULL) { in JNIMediaPlayerListener() 99 jniThrowException(env, "java/lang/Exception", NULL); in JNIMediaPlayerListener() 122 if (jParcel != NULL) { in notify() 131 msg, ext1, ext2, NULL); in notify() 169 if (exception == NULL) { // Don't throw exception. Instead, send an event. in process_media_player_call() 176 jniThrowException(env, "java/lang/IllegalStateException", NULL); in process_media_player_call() 178 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in process_media_player_call() 180 jniThrowException(env, "java/lang/SecurityException", NULL); in process_media_player_call() 201 if (mp == NULL ) { in android_media_MediaPlayer_setDataSourceAndHeaders() [all …]
|
D | android_media_MediaExtractor.cpp | 55 : mClass(NULL), in JMediaExtractor() 56 mObject(NULL) { in JMediaExtractor() 58 CHECK(clazz != NULL); in JMediaExtractor() 70 mObject = NULL; in ~JMediaExtractor() 72 mClass = NULL; in ~JMediaExtractor() 142 jbyteArray byteArray = NULL; in readSampleData() 145 CHECK(byteBufClass.get() != NULL); in readSampleData() 147 if (dst == NULL) { in readSampleData() 150 CHECK(arrayID != NULL); in readSampleData() 155 if (byteArray == NULL) { in readSampleData() [all …]
|
D | android_media_MediaCrypto.cpp | 59 mObject = NULL; in ~JCrypto() 68 if (service == NULL) { in MakeCrypto() 69 return NULL; in MakeCrypto() 73 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in MakeCrypto() 74 return NULL; in MakeCrypto() 85 if (crypto == NULL) { in MakeCrypto() 86 return NULL; in MakeCrypto() 92 return NULL; in MakeCrypto() 99 if (mCrypto == NULL) { in requiresSecureDecoderComponent() 110 if (crypto == NULL) { in IsCryptoSchemeSupported() [all …]
|
D | android_media_MediaCodec.cpp | 118 : mClass(NULL), in JMediaCodec() 119 mObject(NULL) { in JMediaCodec() 121 CHECK(clazz != NULL); in JMediaCodec() 141 CHECK((mCodec != NULL) != (mInitStatus != OK)); in JMediaCodec() 147 CHECK(mByteBufferClass != NULL); in cacheJavaObjects() 151 CHECK(byteOrderClass.get() != NULL); in cacheJavaObjects() 155 CHECK(nativeOrderID != NULL); in cacheJavaObjects() 160 CHECK(mNativeByteOrderObj != NULL); in cacheJavaObjects() 162 nativeByteOrderObj = NULL; in cacheJavaObjects() 168 CHECK(mByteBufferOrderMethodID != NULL); in cacheJavaObjects() [all …]
|
/frameworks/base/libs/androidfw/ |
D | Asset.cpp | 52 static Asset* gHead = NULL; 53 static Asset* gTail = NULL; 59 asset->mNext = asset->mPrev = NULL; in registerAsset() 60 if (gTail == NULL) { in registerAsset() 83 if (asset->mNext != NULL) { in unregisterAsset() 86 if (asset->mPrev != NULL) { in unregisterAsset() 89 asset->mNext = asset->mPrev = NULL; in unregisterAsset() 107 while (cur != NULL) { in getAssetAllocations() 123 : mAccessMode(ACCESS_UNKNOWN), mNext(NULL), mPrev(NULL) in Asset() 142 return NULL; in createFromFile() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFFileFormat.cpp | 18 : f_pNULLSection(NULL), in ELFFileFormat() 19 f_pGOT(NULL), in ELFFileFormat() 20 f_pPLT(NULL), in ELFFileFormat() 21 f_pRelDyn(NULL), in ELFFileFormat() 22 f_pRelPlt(NULL), in ELFFileFormat() 23 f_pRelaDyn(NULL), in ELFFileFormat() 24 f_pRelaPlt(NULL), in ELFFileFormat() 25 f_pComment(NULL), in ELFFileFormat() 26 f_pData1(NULL), in ELFFileFormat() 27 f_pDebug(NULL), in ELFFileFormat() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | GraphTest.cpp | 43 ASSERT_TRUE(NULL == u1->first_in); in TEST_F() 44 ASSERT_TRUE(NULL == u1->first_out); in TEST_F() 46 ASSERT_TRUE(NULL == u1->next); in TEST_F() 48 ASSERT_TRUE(NULL == u2->first_in); in TEST_F() 49 ASSERT_TRUE(NULL == u2->first_out); in TEST_F() 53 ASSERT_TRUE(NULL == u3->first_in); in TEST_F() 54 ASSERT_TRUE(NULL == u3->first_out); in TEST_F() 56 ASSERT_TRUE(NULL == u3->prev); in TEST_F() 58 ListDigraph::Node* head = NULL; in TEST_F() 64 ASSERT_TRUE(NULL == u1->first_in); in TEST_F() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | engine.c | 31 result = slQueryNumSupportedEngineInterfaces(NULL); in main() 36 assert(engine_ids != NULL); in main() 38 assert(engine_req != NULL); in main() 55 result = slQuerySupportedEngineInterfaces(index, NULL); in main() 63 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, NULL); in main() 65 assert(NULL == engineObject); in main() 66 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, NULL, engine_req); in main() 68 assert(NULL == engineObject); in main() 72 result = slCreateEngine(NULL, 0, NULL, numSupportedInterfaces, engine_ids, engine_req); in main() 76 SLInterfaceID null_id[1] = {NULL}; in main() [all …]
|
D | xa.c | 29 result = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 45 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in main() 53 XA_DEFAULTDEVICEID_CAMERA, 0, NULL, NULL); in main() 57 result = (*engineEngine)->CreateRadioDevice(engineEngine, &deviceObject, 0, NULL, NULL); in main() 62 0, NULL, NULL); in main() 67 XA_DEFAULTDEVICEID_VIBRA, 0, NULL, NULL); in main() 84 fmtMime.mimeType = NULL; in main() 98 audioSnk.pFormat = NULL; in main() 101 locND.hWindow = NULL; // FIXME wrong in main() 102 locND.hDisplay = NULL; in main() [all …]
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 31 static XAObjectItf engineObject = NULL; 32 static XAEngineItf engineEngine = NULL; 35 static XAObjectItf outputMixObject = NULL; 38 static XAObjectItf playerObj = NULL; 39 static XAPlayItf playerPlayItf = NULL; 40 static XAAndroidBufferQueueItf playerBQItf = NULL; 41 static XAStreamInformationItf playerStreamInfoItf = NULL; 42 static XAVolumeItf playerVolItf = NULL; 106 assert(NULL == pCallbackContext); in AndroidBufferQueueCallback() 131 if ((pBufferData == NULL) && (pBufferContext != NULL)) { in AndroidBufferQueueCallback() [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.h | 37 bool parse(const android::String8& str, ConfigDescription* out = NULL); 55 bool parseMcc(const char* str, android::ResTable_config* out = NULL); 56 bool parseMnc(const char* str, android::ResTable_config* out = NULL); 57 bool parseLayoutDirection(const char* str, android::ResTable_config* out = NULL); 58 bool parseSmallestScreenWidthDp(const char* str, android::ResTable_config* out = NULL); 59 bool parseScreenWidthDp(const char* str, android::ResTable_config* out = NULL); 60 bool parseScreenHeightDp(const char* str, android::ResTable_config* out = NULL); 61 bool parseScreenLayoutSize(const char* str, android::ResTable_config* out = NULL); 62 bool parseScreenLayoutLong(const char* str, android::ResTable_config* out = NULL); 63 bool parseScreenRound(const char* name, android::ResTable_config* out = NULL); [all …]
|
/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 38 if (bArray == NULL) { in android_content_XmlBlock_nativeCreate() 39 jniThrowNullPointerException(env, NULL); in android_content_XmlBlock_nativeCreate() 45 jniThrowException(env, "java/lang/IndexOutOfBoundsException", NULL); in android_content_XmlBlock_nativeCreate() 49 jbyte* b = env->GetByteArrayElements(bArray, NULL); in android_content_XmlBlock_nativeCreate() 55 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_content_XmlBlock_nativeCreate() 66 if (osb == NULL) { in android_content_XmlBlock_nativeGetStringBlock() 67 jniThrowNullPointerException(env, NULL); in android_content_XmlBlock_nativeGetStringBlock() 78 if (osb == NULL) { in android_content_XmlBlock_nativeCreateParseState() 79 jniThrowNullPointerException(env, NULL); in android_content_XmlBlock_nativeCreateParseState() 84 if (st == NULL) { in android_content_XmlBlock_nativeCreateParseState() [all …]
|
D | android_util_StringBlock.cpp | 38 if (bArray == NULL) { in android_content_StringBlock_nativeCreate() 39 jniThrowNullPointerException(env, NULL); in android_content_StringBlock_nativeCreate() 45 jniThrowException(env, "java/lang/IndexOutOfBoundsException", NULL); in android_content_StringBlock_nativeCreate() 49 jbyte* b = env->GetByteArrayElements(bArray, NULL); in android_content_StringBlock_nativeCreate() 53 if (osb == NULL || osb->getError() != NO_ERROR) { in android_content_StringBlock_nativeCreate() 54 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_content_StringBlock_nativeCreate() 66 if (osb == NULL) { in android_content_StringBlock_nativeGetSize() 67 jniThrowNullPointerException(env, NULL); in android_content_StringBlock_nativeGetSize() 78 if (osb == NULL) { in android_content_StringBlock_nativeGetString() 79 jniThrowNullPointerException(env, NULL); in android_content_StringBlock_nativeGetString() [all …]
|
D | com_google_android_gles_jni_EGLImpl.cpp | 93 if (attrib_list == NULL) { in validAttribList() 106 if (attrib_list != NULL) { in beginNativeAttribList() 114 if (attrib_list != NULL) { in endNativeAttributeList() 121 if (display == NULL || (major_minor != NULL && in jni_eglInitialize() 123 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); in jni_eglInitialize() 128 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize() 144 if (display == NULL || context == NULL || value == NULL in jni_eglQueryContext() 146 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); in jni_eglQueryContext() 163 if (display == NULL || surface == NULL || value == NULL in jni_eglQuerySurface() 165 jniThrowException(_env, "java/lang/IllegalArgumentException", NULL); in jni_eglQuerySurface() [all …]
|
D | android_hardware_location_ActivityRecognitionHardware.cpp | 29 static activity_recognition_module_t* sModule = NULL; 30 static activity_recognition_device_t* sDevice = NULL; 32 static jobject sCallbacksObject = NULL; 33 static jmethodID sOnActivityChanged = NULL; 48 assert(java_vm != NULL); in attach_thread() 53 NULL /* group */ in attach_thread() 66 assert(java_vm != NULL); in detach_thread() 84 if (sOnActivityChanged == NULL) { in activity_callback() 89 if (events == NULL || count <= 0) { in activity_callback() 94 JNIEnv* env = NULL; in activity_callback() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBuffer.cpp | 37 : mObserver(NULL), in MediaBuffer() 45 mOriginal(NULL) { in MediaBuffer() 49 : mObserver(NULL), in MediaBuffer() 51 mData(NULL), in MediaBuffer() 57 mOriginal(NULL) { in MediaBuffer() 66 if (mMemory == NULL) { in MediaBuffer() 69 if (mData == NULL) { in MediaBuffer() 81 : mObserver(NULL), in MediaBuffer() 83 mData(NULL), in MediaBuffer() 90 mOriginal(NULL) { in MediaBuffer() [all …]
|
/frameworks/compile/mclinker/lib/Support/ |
D | Target.cpp | 19 : Name(NULL), in Target() 20 TripleMatchQualityFn(NULL), in Target() 21 TargetMachineCtorFn(NULL), in Target() 22 MCLinkerCtorFn(NULL), in Target() 23 TargetLDBackendCtorFn(NULL), in Target() 24 DiagnosticLineInfoCtorFn(NULL) { in Target() 28 if (TripleMatchQualityFn == NULL) in getTripleQuality() 36 if (TargetMachineCtorFn == NULL) in createTargetMachine() 37 return NULL; in createTargetMachine() 46 if (MCLinkerCtorFn == NULL) in createMCLinker() [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IEngineCapabilities.c | 27 if (NULL == pProfilesSupported) { in IEngineCapabilities_QuerySupportedProfiles() 51 if (NULL != pNumMaxVoices) in IEngineCapabilities_QueryAvailableVoices() 53 if (NULL != pIsAbsoluteMax) in IEngineCapabilities_QueryAvailableVoices() 55 if (NULL != pNumFreeVoices) in IEngineCapabilities_QueryAvailableVoices() 73 if (NULL == pNum) { in IEngineCapabilities_QueryNumberOfMIDISynthesizers() 89 if (!(NULL != pMajor && NULL != pMinor && NULL != pStep)) { in IEngineCapabilities_QueryAPIVersion() 110 if (NULL != pIndex) { in IEngineCapabilities_QueryLEDCapabilities() 112 if (NULL != pLEDDeviceID || NULL != pDescriptor) { in IEngineCapabilities_QueryLEDCapabilities() 118 if (NULL != pLEDDeviceID) in IEngineCapabilities_QueryLEDCapabilities() 120 if (NULL != pDescriptor) in IEngineCapabilities_QueryLEDCapabilities() [all …]
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_AudioEffect.cpp | 103 jobject obj = NULL; in effectCallback() 104 jbyteArray array = NULL; in effectCallback() 154 if (array == NULL) { in effectCallback() 158 bytes = env->GetByteArrayElements(array, NULL); in effectCallback() 221 fields.clazzEffect = NULL; in android_media_AudioEffect_native_init() 222 fields.clazzDesc = NULL; in android_media_AudioEffect_native_init() 226 if (clazz == NULL) { in android_media_AudioEffect_native_init() 237 if (fields.midPostNativeEvent == NULL) { in android_media_AudioEffect_native_init() 247 if (fields.fidNativeAudioEffect == NULL) { in android_media_AudioEffect_native_init() 255 if (fields.fidJniData == NULL) { in android_media_AudioEffect_native_init() [all …]
|
/frameworks/av/media/libstagefright/ |
D | WVMExtractor.cpp | 41 void *gVendorLibHandle = NULL; 59 MEDIA_MIMETYPE_CONTAINER_WVM) != NULL) { in WVMExtractor() 61 CHECK(mImpl != NULL); in WVMExtractor() 74 if (gVendorLibHandle == NULL) { in init_routine() 84 return gVendorLibHandle != NULL; in getVendorLibHandle() 91 return (mImpl != NULL) ? mImpl->countTracks() : 0; in countTracks() 95 if (mImpl == NULL) { in getTrack() 96 return NULL; in getTrack() 102 if (mImpl == NULL) { in getTrackMetaData() 103 return NULL; in getTrackMetaData() [all …]
|