/external/libtextclassifier/tests/ |
token-feature-extractor_test.cc | 17 #include "smartselect/token-feature-extractor.h" 38 TestingTokenFeatureExtractor extractor(options); 43 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, 49 extractor.HashToken("H"), 50 extractor.HashToken("e"), 51 extractor.HashToken("l"), 52 extractor.HashToken("l"), 53 extractor.HashToken("o"), 54 extractor.HashToken("^H"), 55 extractor.HashToken("He") [all...] |
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ |
ExoPlayerExtractorsFactory.java | 18 import com.google.android.exoplayer2.extractor.DefaultExtractorsFactory; 19 import com.google.android.exoplayer2.extractor.Extractor; 20 import com.google.android.exoplayer2.extractor.ExtractorsFactory; 21 import com.google.android.exoplayer2.extractor.TimestampAdjuster; 22 import com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory; 23 import com.google.android.exoplayer2.extractor.ts.TsExtractor; 29 * Extractor factory, mainly aim at create TsExtractor with FLAG_ALLOW_NON_IDR_KEYFRAMES flags for 34 public Extractor[] createExtractors() { 36 Extractor[] extractors = [all...] |
MpegTsRendererBuilder.java | 51 SampleExtractor extractor = dataSource == null ? local 54 SampleSource sampleSource = new MpegTsSampleSource(extractor); 58 // {@link MpegTsMediaCodecAudioTrackRenderer} when we use ExoPlayer's extractor.
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
ClearKeyLicenseFetcher.cpp | 31 JsonAssetLoader *extractor = new JsonAssetLoader(); local 32 return extractor->extractAssetFromString(String8(input), &asset_);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
SysuiColorExtractorTests.java | 55 SysuiColorExtractor extractor = getTestableExtractor(colors); local 56 simulateEvent(extractor); 57 extractor.setWallpaperVisible(false); 59 ColorExtractor.GradientColors fallbackColors = extractor.getFallbackColors(); 63 extractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); 65 extractor.getColors(WallpaperManager.FLAG_LOCK, type), fallbackColors); 75 SysuiColorExtractor extractor = getTestableExtractor(colors); local 76 simulateEvent(extractor); 77 extractor.setWallpaperVisible(true); 82 extractor.getColors(which, type), colors) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
IntegerResourceLoaderTest.java | 18 ResourceExtractor extractor = new ResourceExtractor(); local 19 extractor.addLocalRClass( R.class ); 20 extractor.addSystemRClass( android.R.class ); 22 resourceLoader = new IntegerResourceLoader( extractor );
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
BadgeExtractorTest.java | 85 BadgeExtractor extractor = new BadgeExtractor(); local 86 extractor.setConfig(mConfig); 92 extractor.process(r); 99 BadgeExtractor extractor = new BadgeExtractor(); local 100 extractor.setConfig(mConfig); 106 extractor.process(r); 113 BadgeExtractor extractor = new BadgeExtractor(); local 114 extractor.setConfig(mConfig); 120 extractor.process(r); 127 BadgeExtractor extractor = new BadgeExtractor() local 141 BadgeExtractor extractor = new BadgeExtractor(); local [all...] |
ImportanceExtractorTest.java | 82 ImportanceExtractor extractor = new ImportanceExtractor(); local 83 extractor.setConfig(mConfig); 93 extractor.process(r); 101 ImportanceExtractor extractor = new ImportanceExtractor(); local 102 extractor.setConfig(mConfig); 111 extractor.process(r);
|
NotificationChannelExtractorTest.java | 55 NotificationChannelExtractor extractor = new NotificationChannelExtractor(); local 56 extractor.setConfig(mConfig); 72 assertNull(extractor.process(r));
|
NotificationAdjustmentExtractorTest.java | 43 NotificationAdjustmentExtractor extractor = new NotificationAdjustmentExtractor(); local 62 assertNull(extractor.process(r)); 71 NotificationAdjustmentExtractor extractor = new NotificationAdjustmentExtractor(); local 98 assertNull(extractor.process(r));
|
/prebuilts/tools/linux-x86_64/kythe/extractors/ |
javac-wrapper.sh | 18 # requires the same environment variables as the javac extractor (see 28 # the REAL_JAVAC environment variable. The default path for the javac extractor 64 "$@" >>"$TMPDIR"/javac-extractor.out 2>> "$TMPDIR"/javac-extractor.err
|
/frameworks/base/media/jni/ |
android_media_MediaExtractor.cpp | 293 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { 297 if (extractor != NULL) { 298 extractor->incStrong(thiz); 303 env->SetLongField(thiz, gFields.context, (jlong)extractor.get()); 318 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 320 if (extractor == NULL) { 325 return (jint) extractor->countTracks(); 330 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 332 if (extractor == NULL) { 338 status_t err = extractor->getTrackFormat(index, &format) 350 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 370 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 387 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 404 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 422 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 443 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 465 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 487 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 509 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 531 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 649 sp<JMediaExtractor> extractor = new JMediaExtractor(env, thiz); local 659 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 706 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 734 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 766 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 786 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 804 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 830 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local [all...] |
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
ColorExtractorTest.java | 86 ColorExtractor extractor = new ColorExtractor(mContext, type); local 88 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, 91 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); 93 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); 101 ColorExtractor extractor = new ColorExtractor(mContext, new Tonal(mContext)); local 102 extractor.addOnColorsChangedListener(mockedListeners); 104 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null), 109 extractor.removeOnColorsChangedListener(mockedListeners); 110 extractor.onColorsChanged(new WallpaperColors(Color.valueOf(Color.RED), null, null),
|
/frameworks/av/services/minijail/ |
Android.mk | 3 # Small library for media.extractor and media.codec sandboxing. 11 # Small library for media.extractor and media.codec sandboxing.
|
/external/pdfium/core/fpdftext/ |
fpdf_text_int_unittest.cpp | 21 CPDF_TestLinkExtract extractor; local 34 EXPECT_FALSE(extractor.CheckMailLink(text_str)); 56 EXPECT_TRUE(extractor.CheckMailLink(text_str));
|
/external/junit/src/main/java/org/junit/ |
ComparisonFailure.java | 99 DiffExtractor extractor = new DiffExtractor(); local 100 String compactedPrefix = extractor.compactPrefix(); 101 String compactedSuffix = extractor.compactSuffix(); 103 compactedPrefix + extractor.expectedDiff() + compactedSuffix, 104 compactedPrefix + extractor.actualDiff() + compactedSuffix);
|
/frameworks/av/cmds/stagefright/ |
muxer.cpp | 65 sp<NuMediaExtractor> extractor = new NuMediaExtractor; local 66 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 67 fprintf(stderr, "unable to instantiate extractor. %s\n", path); 87 size_t trackCount = extractor->countTracks(); 88 // Map the extractor's track index to the muxer's track index. 102 status_t err = extractor->getTrackFormat(i, &format); 104 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str()); 141 err = extractor->selectTrack(i); 165 status_t err = extractor->getSampleTrackIndex(&trackIndex); 172 extractor->advance() [all...] |
codec.cpp | 82 sp<NuMediaExtractor> extractor = new NuMediaExtractor; local 83 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { 84 fprintf(stderr, "unable to instantiate extractor.\n"); 92 for (size_t i = 0; i < extractor->countTracks(); ++i) { 94 status_t err = extractor->getTrackFormat(i, &format); 113 err = extractor->selectTrack(i); 163 status_t err = extractor->getSampleTrackIndex(&trackIndex); 180 err = extractor->readSampleData(abuffer); 185 err = extractor->getSampleTime(&timeUs); 199 extractor->advance() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 131 MediaExtractor extractor = new MediaExtractor(); local 132 extractor.setDataSource(srcPath); 134 int trackCount = extractor.getTrackCount(); 146 MediaFormat format = extractor.getTrackFormat(i); 158 extractor.selectTrack(i); 172 // Set up the orientation and starting time for extractor. 185 extractor.seekTo(startMs * 1000, MediaExtractor.SEEK_TO_CLOSEST_SYNC); 199 bufferInfo.size = extractor.readSampleData(dstBuf, offset); 205 bufferInfo.presentationTimeUs = extractor.getSampleTime(); 210 bufferInfo.flags = extractor.getSampleFlags() [all...] |
/frameworks/av/media/libmedia/include/media/ |
IMediaExtractor.h | 84 const sp<IMediaExtractor> &extractor, 89 const sp<IMediaExtractor> &extractor,
|
/frameworks/av/media/libmedia/ |
IMediaExtractor.cpp | 242 wp<IMediaExtractor> extractor; member in struct:android::__anon39950 255 if (extractor.promote() == NULL) { 287 sp<IMediaExtractor> extractor = instance.extractor.promote(); local 288 if (extractor != NULL && extractor == ex) { 305 const sp<IMediaExtractor> &extractor, 310 ex.name = extractor->name(); 313 ex.extractor = extractor; [all...] |
/external/libtextclassifier/common/ |
embedding-feature-extractor.h | 24 #include "common/feature-extractor.h" 67 const GenericFeatureExtractor *extractor = generic_feature_extractor(index); local 68 return (extractor == nullptr) ? -1 : extractor->GetDomainSize(); 91 // used to get the type information out of the feature extractor without 92 // knowing the specific calling arguments of the extractor itself. 101 // FML strings for each feature extractor. 114 // EmbeddingFeatureExtractor. EXTRACTOR should be a FeatureExtractor<OBJ, 120 template <class EXTRACTOR, class OBJ, class... ARGS> 130 feature_extractors_[i].reset(new EXTRACTOR()); [all...] |
/packages/apps/TV/libs/ |
exoplayer.jar | |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTestAacDrc.java | 302 MediaExtractor extractor; local 307 extractor = new MediaExtractor(); 308 extractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), 312 assertEquals("wrong number of tracks", 1, extractor.getTrackCount()); 313 MediaFormat format = extractor.getTrackFormat(0); 335 extractor.selectTrack(0); 353 extractor.readSampleData(dstBuf, 0 /* offset */); 369 presentationTimeUs = extractor.getSampleTime(); 379 extractor.advance();
|
/external/libcxx/utils/libcxx/sym_check/ |
extract.py | 191 extractor = ReadElfExtractor() 193 extractor = NMExtractor() 194 return extractor.extract(lib_file)
|