/frameworks/base/media/jni/ |
D | android_media_MediaExtractor.cpp | 305 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { in setMediaExtractor() argument 309 if (extractor != NULL) { in setMediaExtractor() 310 extractor->incStrong(thiz); in setMediaExtractor() 315 env->SetLongField(thiz, gFields.context, (jlong)extractor.get()); in setMediaExtractor() 330 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackCount() local 332 if (extractor == NULL) { in android_media_MediaExtractor_getTrackCount() 337 return (jint) extractor->countTracks(); in android_media_MediaExtractor_getTrackCount() 342 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackFormatNative() local 344 if (extractor == NULL) { in android_media_MediaExtractor_getTrackFormatNative() 350 status_t err = extractor->getTrackFormat(index, &format); in android_media_MediaExtractor_getTrackFormatNative() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BadgeExtractorTest.java | 88 BadgeExtractor extractor = new BadgeExtractor(); in testAppYesChannelNo() local 89 extractor.setConfig(mConfig); in testAppYesChannelNo() 95 extractor.process(r); in testAppYesChannelNo() 102 BadgeExtractor extractor = new BadgeExtractor(); in testAppNoChannelYes() local 103 extractor.setConfig(mConfig); in testAppNoChannelYes() 109 extractor.process(r); in testAppNoChannelYes() 116 BadgeExtractor extractor = new BadgeExtractor(); in testAppYesChannelYes() local 117 extractor.setConfig(mConfig); in testAppYesChannelYes() 123 extractor.process(r); in testAppYesChannelYes() 130 BadgeExtractor extractor = new BadgeExtractor(); in testAppNoChannelNo() local [all …]
|
D | BubbleExtractorTest.java | 86 BubbleExtractor extractor = new BubbleExtractor(); in testAppYesChannelNo() local 87 extractor.setConfig(mConfig); in testAppYesChannelNo() 93 extractor.process(r); in testAppYesChannelNo() 100 BubbleExtractor extractor = new BubbleExtractor(); in testAppNoChannelYes() local 101 extractor.setConfig(mConfig); in testAppNoChannelYes() 107 extractor.process(r); in testAppNoChannelYes() 114 BubbleExtractor extractor = new BubbleExtractor(); in testAppYesChannelYes() local 115 extractor.setConfig(mConfig); in testAppYesChannelYes() 121 extractor.process(r); in testAppYesChannelYes() 128 BubbleExtractor extractor = new BubbleExtractor(); in testAppNoChannelNo() local [all …]
|
D | ZenModeExtractorTest.java | 55 ZenModeExtractor extractor = new ZenModeExtractor(); in testExtractIntercepted() local 56 extractor.setZenHelper(mZenModeHelper); in testExtractIntercepted() 65 extractor.process(r); in testExtractIntercepted() 72 ZenModeExtractor extractor = new ZenModeExtractor(); in testExtractVisualDisturbancesNotIntercepted() local 73 extractor.setZenHelper(mZenModeHelper); in testExtractVisualDisturbancesNotIntercepted() 80 extractor.process(r); in testExtractVisualDisturbancesNotIntercepted() 87 ZenModeExtractor extractor = new ZenModeExtractor(); in testExtractVisualDisturbancesIntercepted() local 88 extractor.setZenHelper(mZenModeHelper); in testExtractVisualDisturbancesIntercepted() 96 extractor.process(r); in testExtractVisualDisturbancesIntercepted()
|
/frameworks/av/media/extractors/fuzzers/ |
D | Android.bp | 21 name: "extractor-fuzzerbase-defaults", 53 name: "extractor-fuzzer-defaults", 54 defaults: ["extractor-fuzzerbase-defaults"], 69 name: "mpeg2-extractor-fuzzer-defaults", 70 defaults: ["extractor-fuzzer-defaults"], 100 defaults: ["extractor-fuzzerbase-defaults"], 110 defaults: ["extractor-fuzzer-defaults"], 136 defaults: ["extractor-fuzzer-defaults"], 159 defaults: ["extractor-fuzzer-defaults"], 179 defaults: ["extractor-fuzzer-defaults"], [all …]
|
D | mkv_extractor_fuzzer.cpp | 48 MKVExtractor* extractor = new MKVExtractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | aac_extractor_fuzzer.cpp | 48 AacExtractor* extractor = new AacExtractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | flac_extractor_fuzzer.cpp | 48 FlacExtractor* extractor = new FlacExtractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | wav_extractor_fuzzer.cpp | 48 wavExtractor* extractor = new wavExtractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | amr_extractor_fuzzer.cpp | 48 AmrExtractor* extractor = new AmrExtractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | ogg_extractor_fuzzer.cpp | 48 OGGExtractor* extractor = new OGGExtractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | mp3_extractor_fuzzer.cpp | 48 Mp3Extractor* extractor = new Mp3Extractor(); in LLVMFuzzerTestOneInput() local 49 if (extractor) { in LLVMFuzzerTestOneInput() 50 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 51 delete extractor; in LLVMFuzzerTestOneInput()
|
D | mp4_extractor_fuzzer.cpp | 50 MP4Extractor* extractor = new MP4Extractor(); in LLVMFuzzerTestOneInput() local 51 if (extractor) { in LLVMFuzzerTestOneInput() 52 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 53 delete extractor; in LLVMFuzzerTestOneInput()
|
D | mpeg2_extractor_fuzzer.cpp | 56 MPEG2Extractor* extractor = new MPEG2Extractor(); in LLVMFuzzerTestOneInput() local 57 if (extractor) { in LLVMFuzzerTestOneInput() 58 extractor->processData(data, size); in LLVMFuzzerTestOneInput() 59 delete extractor; in LLVMFuzzerTestOneInput()
|
/frameworks/av/services/mediaextractor/ |
D | MediaExtractorService.cpp | 43 sp<IMediaExtractor> extractor = MediaExtractorFactory::CreateFromService(localSource, mime); in makeExtractor() local 46 extractor.get(), in makeExtractor() 47 extractor == nullptr ? "" : extractor->name()); in makeExtractor() 49 if (extractor != nullptr) { in makeExtractor() 50 registerMediaExtractor(extractor, localSource, mime); in makeExtractor() 51 return extractor; in makeExtractor()
|
/frameworks/av/media/tests/benchmark/tests/ |
D | C2DecoderTest.cpp | 69 Extractor *extractor = new Extractor(); in TEST_P() local 70 ASSERT_NE(extractor, nullptr) << "Extractor creation failed"; in TEST_P() 81 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() 85 int32_t status = extractor->setupTrackFormat(curTrack); in TEST_P() 98 void *csdBuffer = extractor->getCSDSample(info, idx); in TEST_P() 111 status = extractor->getFrameSample(info); in TEST_P() 116 memcpy(inputBuffer + inputBufferOffset, extractor->getFrameBuf(), info.size); in TEST_P() 121 AMediaFormat *format = extractor->getFormat(); in TEST_P() 137 int64_t durationUs = extractor->getClipDuration(); in TEST_P() 146 extractor->deInitExtractor(); in TEST_P() [all …]
|
D | C2EncoderTest.cpp | 72 Extractor *extractor = decoder->getExtractor(); in TEST_P() local 73 ASSERT_NE(extractor, nullptr) << "Extractor creation failed"; in TEST_P() 84 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() 88 int32_t status = extractor->setupTrackFormat(curTrack); in TEST_P() 100 status = extractor->getFrameSample(info); in TEST_P() 105 memcpy(inputBuffer + inputBufferOffset, extractor->getFrameBuf(), info.size); in TEST_P() 121 AMediaFormat *format = extractor->getFormat(); in TEST_P() 141 int64_t durationUs = extractor->getClipDuration(); in TEST_P() 155 extractor->deInitExtractor(); in TEST_P()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | DecoderTest.java | 127 Extractor extractor = new Extractor(); in testDecoder() local 128 int trackCount = extractor.setUpExtractor(fileDescriptor); in testDecoder() 133 extractor.selectExtractorTrack(currentTrack); in testDecoder() 134 MediaFormat format = extractor.getFormat(currentTrack); in testDecoder() 143 sampleSize = extractor.getFrameSample(); in testDecoder() 145 MediaCodec.BufferInfo info = extractor.getBufferInfo(); in testDecoder() 147 dataBuffer.put(extractor.getFrameBuffer().array(), 0, info.size); in testDecoder() 178 extractor.getClipDuration(), mStatsFile); in testDecoder() 186 extractor.unselectExtractorTrack(currentTrack); in testDecoder() 190 extractor.deinitExtractor(); in testDecoder() [all …]
|
D | MuxerTest.java | 121 Extractor extractor = new Extractor(); in testMuxer() local 122 int trackCount = extractor.setUpExtractor(fileDescriptor); in testMuxer() 124 extractor.selectExtractorTrack(currentTrack); in testMuxer() 126 int sampleSize = extractor.getFrameSample(); in testMuxer() 127 MediaCodec.BufferInfo bufferInfo = extractor.getBufferInfo(); in testMuxer() 134 tempSampleBuffer.put(extractor.getFrameBuffer().array(), 0, bufferInfo.size); in testMuxer() 140 MediaFormat format = extractor.getFormat(currentTrack); in testMuxer() 150 muxer.dumpStatistics(mInputFileName, mFormat, extractor.getClipDuration(), mStatsFile); in testMuxer() 152 extractor.unselectExtractorTrack(currentTrack); in testMuxer() 157 extractor.deinitExtractor(); in testMuxer()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 89 ColorExtractor extractor = new ColorExtractor(mContext, type, true, mWallpaperManager); in getColors_usesExtractedColors() local 91 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors() 94 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors() 96 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); in getColors_usesExtractedColors() 104 ColorExtractor extractor = new ColorExtractor(mContext, new Tonal(mContext), true, in addOnColorsChangedListener_invokesListener() local 106 extractor.addOnColorsChangedListener(mockedListeners); in addOnColorsChangedListener_invokesListener() 108 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), in addOnColorsChangedListener_invokesListener() 113 extractor.removeOnColorsChangedListener(mockedListeners); in addOnColorsChangedListener_invokesListener() 114 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), in addOnColorsChangedListener_invokesListener()
|
/frameworks/av/media/libstagefright/ |
D | RemoteMediaExtractor.cpp | 44 MediaExtractor *extractor, in RemoteMediaExtractor() argument 47 :mExtractor(extractor), in RemoteMediaExtractor() 61 size_t ntracks = extractor->countTracks(); in RemoteMediaExtractor() 62 mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); in RemoteMediaExtractor() 67 if (extractor->getMetaData(pMetaData) == OK) { in RemoteMediaExtractor() 150 MediaExtractor *extractor, in wrap() argument 153 if (extractor == nullptr) { in wrap() 156 return new RemoteMediaExtractor(extractor, source, plugin); in wrap()
|
D | InterfaceUtils.cpp | 41 MediaExtractor *extractor, in CreateIMediaExtractorFromMediaExtractor() argument 44 if (extractor == nullptr) { in CreateIMediaExtractorFromMediaExtractor() 47 return RemoteMediaExtractor::wrap(extractor, source, plugin); in CreateIMediaExtractorFromMediaExtractor() 58 const sp<RemoteMediaExtractor> &extractor, in CreateIMediaSourceFromMediaSourceBase() argument 63 return RemoteMediaSource::wrap(extractor, source, plugin); in CreateIMediaSourceFromMediaSourceBase()
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 65 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in muxing() local 66 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in muxing() 87 size_t trackCount = extractor->countTracks(); in muxing() 102 status_t err = extractor->getTrackFormat(i, &format); in muxing() 141 err = extractor->selectTrack(i); in muxing() 165 status_t err = extractor->getSampleTrackIndex(&trackIndex); in muxing() 172 extractor->advance(); in muxing() 176 err = extractor->readSampleData(newBuffer); in muxing() 180 err = extractor->getSampleTime(&timeUs); in muxing() 184 err = extractor->getSampleMeta(&meta); in muxing() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 54 NotificationSignalExtractor extractor = in RankingHelper() local 56 extractor.initialize(mContext, usageStats); in RankingHelper() 57 extractor.setConfig(config); in RankingHelper() 58 extractor.setZenHelper(zenHelper); in RankingHelper() 59 mSignalExtractors[i] = extractor; in RankingHelper() 74 final NotificationSignalExtractor extractor = mSignalExtractors[i]; in findExtractor() local 75 if (extractorClass.equals(extractor.getClass())) { in findExtractor() 76 return (T) extractor; in findExtractor() 85 NotificationSignalExtractor extractor = mSignalExtractors[i]; in extractSignals() local 87 RankingReconsideration recon = extractor.process(r); in extractSignals()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeDecoder.cpp | 46 Extractor *extractor = decoder->getExtractor(); in Java_com_android_media_benchmark_library_Native_Decode() local 47 if (!extractor) { in Java_com_android_media_benchmark_library_Native_Decode() 61 int32_t trackCount = extractor->initExtractor(fd, fileSize); in Java_com_android_media_benchmark_library_Native_Decode() 67 int32_t status = extractor->setupTrackFormat(curTrack); in Java_com_android_media_benchmark_library_Native_Decode() 85 status = extractor->getFrameSample(info); in Java_com_android_media_benchmark_library_Native_Decode() 93 memcpy(inputBuffer + inputBufferOffset, extractor->getFrameBuf(), info.size); in Java_com_android_media_benchmark_library_Native_Decode() 127 extractor->deInitExtractor(); in Java_com_android_media_benchmark_library_Native_Decode()
|