/external/libtextclassifier/ |
token-feature-extractor_test.cc | 17 #include "token-feature-extractor.h" 39 TestingTokenFeatureExtractor extractor(options, unilib); 44 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, 50 extractor.HashToken("H"), 51 extractor.HashToken("e"), 52 extractor.HashToken("l"), 53 extractor.HashToken("l"), 54 extractor.HashToken("o"), 55 extractor.HashToken("^H"), 56 extractor.HashToken("He") [all...] |
/external/piex/ |
README | 1 The Preview Image Extractor (PIEX) is designed to find and extract the largest
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
ExoPlayerExtractorsFactory.java | 18 import com.google.android.exoplayer2.extractor.Extractor; 19 import com.google.android.exoplayer2.extractor.ExtractorsFactory; 20 import com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory; 21 import com.google.android.exoplayer2.extractor.ts.TsExtractor; 25 * Extractor factory, mainly aim at create TsExtractor with FLAG_ALLOW_NON_IDR_KEYFRAMES flags for 30 public Extractor[] createExtractors() { 32 Extractor[] extractors = {
|
/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) 93 SysuiColorExtractor extractor = getTestableExtractor(colors); local [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/av/services/mediaextractor/ |
MediaExtractorService.cpp | 39 sp<IMediaExtractor> extractor = MediaExtractorFactory::CreateFromService(localSource, mime); local 41 ALOGV("extractor service created %p (%s)", 42 extractor.get(), 43 extractor == nullptr ? "" : extractor->name()); 45 if (extractor != nullptr) { 46 registerMediaExtractor(extractor, localSource, mime); 47 return extractor;
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
BadgeExtractorTest.java | 88 BadgeExtractor extractor = new BadgeExtractor(); local 89 extractor.setConfig(mConfig); 95 extractor.process(r); 102 BadgeExtractor extractor = new BadgeExtractor(); local 103 extractor.setConfig(mConfig); 109 extractor.process(r); 116 BadgeExtractor extractor = new BadgeExtractor(); local 117 extractor.setConfig(mConfig); 123 extractor.process(r); 130 BadgeExtractor extractor = new BadgeExtractor() local 144 BadgeExtractor extractor = new BadgeExtractor(); local 158 BadgeExtractor extractor = new BadgeExtractor(); local 174 BadgeExtractor extractor = new BadgeExtractor(); local 190 BadgeExtractor extractor = new BadgeExtractor(); local [all...] |
ZenModeExtractorTest.java | 55 ZenModeExtractor extractor = new ZenModeExtractor(); local 56 extractor.setZenHelper(mZenModeHelper); 65 extractor.process(r); 72 ZenModeExtractor extractor = new ZenModeExtractor(); local 73 extractor.setZenHelper(mZenModeHelper); 80 extractor.process(r); 87 ZenModeExtractor extractor = new ZenModeExtractor(); local 88 extractor.setZenHelper(mZenModeHelper); 96 extractor.process(r);
|
/frameworks/av/media/libstagefright/ |
InterfaceUtils.cpp | 41 MediaExtractor *extractor, 44 if (extractor == nullptr) { 47 return RemoteMediaExtractor::wrap(extractor, source, plugin); 58 const sp<RemoteMediaExtractor> &extractor, 63 return RemoteMediaSource::wrap(extractor, source, plugin);
|
RemoteMediaExtractor.cpp | 32 static const char *kKeyExtractor = "extractor"; 43 MediaExtractor *extractor, 46 :mExtractor(extractor), 55 size_t ntracks = extractor->countTracks(); 56 mAnalyticsItem->setCString(kExtractorFormat, extractor->name()); 61 if (extractor->getMetaData(pMetaData) == OK) { 144 MediaExtractor *extractor, 147 if (extractor == nullptr) { 150 return new RemoteMediaExtractor(extractor, source, plugin);
|
/frameworks/av/services/minijail/ |
Android.bp | 16 // Small library for media.extractor and media.codec sandboxing. 23 // Small library for media.extractor and media.codec sandboxing.
|
/frameworks/base/media/jni/ |
android_media_MediaExtractor.cpp | 299 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { 303 if (extractor != NULL) { 304 extractor->incStrong(thiz); 309 env->SetLongField(thiz, gFields.context, (jlong)extractor.get()); 324 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 326 if (extractor == NULL) { 331 return (jint) extractor->countTracks(); 336 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 338 if (extractor == NULL) { 344 status_t err = extractor->getTrackFormat(index, &format) 356 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 376 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 393 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 410 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 428 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 449 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 471 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 493 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 515 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 537 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 559 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 690 sp<JMediaExtractor> extractor = new JMediaExtractor(env, thiz); local 700 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 747 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 775 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 807 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 827 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 845 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local 871 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); local [all...] |
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamArray.h | 52 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 53 /// If you do not specify an Extractor type, it expects you to specialize 56 /// By default an Extractor is default constructed in the class, but in some 57 /// cases you might find it useful for an Extractor to maintain state across 58 /// extractions. In this case you can provide your own Extractor through a 62 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 65 /// // Will use a default-constructed MyExtractor as the extractor. 73 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 76 typename Extractor = VarStreamArrayExtractor<ValueType>> 78 friend class VarStreamArrayIterator<ValueType, Extractor>; [all...] |
/prebuilts/tools/common/uast/ |
PREBUILT | 3 (1) The tools/base/misc/psi-extractor library, at revision:
|
/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),
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
BinaryStreamArray.h | 24 /// an Extractor type that can extract a record from a given offset and 63 /// You create a VarStreamArray by specifying a ValueType and an Extractor type. 64 /// If you do not specify an Extractor type, you are expected to specialize 67 /// By default an Extractor is default constructed in the class, but in some 68 /// cases you might find it useful for an Extractor to maintain state across 69 /// extractions. In this case you can provide your own Extractor through a 73 /// // Will use VarStreamArrayExtractor<MyType> as the extractor. 76 /// // Will use a default-constructed MyExtractor as the extractor. 85 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 88 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |