/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...] |
/external/piex/ |
README | 1 The Preview Image Extractor (PIEX) is designed to find and extract the largest
|
/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);
|
/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...] |
/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-3957855/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/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. 84 template <typename ValueType, typename Extractor> class VarStreamArrayIterator; 87 typename Extractor = VarStreamArrayExtractor<ValueType> [all...] |
/external/libtextclassifier/common/ |
fml-parser.h | 21 // <feature model> ::= { <feature extractor> } 23 // <feature extractor> ::= <extractor spec> | 24 // <extractor spec> '.' <feature extractor> | 25 // <extractor spec> '{' { <feature extractor> } '}' 27 // <extractor spec> ::= <extractor type> 29 // [ ':' <extractor name> [all...] |
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...] |
feature-extractor.h | 17 // Generic feature extractor for extracting features from objects. The feature 18 // extractor can be used for extracting features from any object. The feature 19 // extractor and feature function classes are template classes that have to 22 // A feature extractor consists of a hierarchy of feature functions. Each 26 // The feature extractor has a modular design where new feature functions can be 27 // registered as components. The feature extractor is initialized from a 28 // descriptor represented by a protocol buffer. The feature extractor can also 30 // extractor. Feature specification parsers can be added as components. By 31 // default the feature extractor can be read from an ASCII protocol buffer or in 115 // The generic feature extractor is the type-independent part of a featur 250 GenericFeatureExtractor *extractor() const { return extractor_; } function in class:libtextclassifier::nlp_core::GenericFeatureFunction [all...] |
/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/libtextclassifier/lang_id/ |
lang-id-brain-interface.h | 23 #include "common/embedding-feature-extractor.h" 24 #include "common/feature-extractor.h" 75 // Typed feature extractor for embeddings. 78 // The registry of shared workspaces in the feature extractor.
|
/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...] |