/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
H A D | SysuiColorExtractorTests.java | 55 SysuiColorExtractor extractor = getTestableExtractor(colors); 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); 76 simulateEvent(extractor); 77 extractor.setWallpaperVisible(true); 82 extractor 118 simulateEvent(SysuiColorExtractor extractor) argument [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ClearKeyLicenseFetcher.cpp | 31 JsonAssetLoader *extractor = new JsonAssetLoader(); local 32 return extractor->extractAssetFromString(String8(input), &asset_);
|
/frameworks/av/services/mediaextractor/ |
H A D | 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/ |
H A D | BadgeExtractorTest.java | 88 BadgeExtractor extractor = new BadgeExtractor(); 89 extractor.setConfig(mConfig); 95 extractor.process(r); 102 BadgeExtractor extractor = new BadgeExtractor(); 103 extractor.setConfig(mConfig); 109 extractor.process(r); 116 BadgeExtractor extractor = new BadgeExtractor(); 117 extractor.setConfig(mConfig); 123 extractor.process(r); 130 BadgeExtractor extractor [all...] |
H A D | ZenModeExtractorTest.java | 55 ZenModeExtractor extractor = new ZenModeExtractor(); 56 extractor.setZenHelper(mZenModeHelper); 65 extractor.process(r); 72 ZenModeExtractor extractor = new ZenModeExtractor(); 73 extractor.setZenHelper(mZenModeHelper); 80 extractor.process(r); 87 ZenModeExtractor extractor = new ZenModeExtractor(); 88 extractor.setZenHelper(mZenModeHelper); 96 extractor.process(r);
|
H A D | ImportanceExtractorTest.java | 83 ImportanceExtractor extractor = new ImportanceExtractor(); 84 extractor.setConfig(mConfig); 94 extractor.process(r); 102 ImportanceExtractor extractor = new ImportanceExtractor(); 103 extractor.setConfig(mConfig); 112 extractor.process(r);
|
H A D | NotificationChannelExtractorTest.java | 54 NotificationChannelExtractor extractor = new NotificationChannelExtractor(); 55 extractor.setConfig(mConfig); 71 assertNull(extractor.process(r));
|
H A D | NotificationAdjustmentExtractorTest.java | 45 NotificationAdjustmentExtractor extractor = new NotificationAdjustmentExtractor(); 64 assertNull(extractor.process(r)); 73 NotificationAdjustmentExtractor extractor = new NotificationAdjustmentExtractor(); 100 assertNull(extractor.process(r));
|
/frameworks/av/media/libstagefright/ |
H A D | 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); 40 CreateIMediaExtractorFromMediaExtractor( MediaExtractor *extractor, const sp<DataSource> &source, const sp<RefBase> &plugin) argument 57 CreateIMediaSourceFromMediaSourceBase( const sp<RemoteMediaExtractor> &extractor, MediaTrack *source, const sp<RefBase> &plugin) argument
|
H A D | 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); 42 RemoteMediaExtractor( MediaExtractor *extractor, const sp<DataSource> &source, const sp<RefBase> &plugin) argument 143 wrap( MediaExtractor *extractor, const sp<DataSource> &source, const sp<RefBase> &plugin) argument
|
H A D | RemoteMediaSource.cpp | 24 const sp<RemoteMediaExtractor> &extractor, 27 : mExtractor(extractor), 69 const sp<RemoteMediaExtractor> &extractor, 74 return new RemoteMediaSource(extractor, source, plugin); 23 RemoteMediaSource( const sp<RemoteMediaExtractor> &extractor, MediaTrack *source, const sp<RefBase> &plugin) argument 68 wrap( const sp<RemoteMediaExtractor> &extractor, MediaTrack *source, const sp<RefBase> &plugin) argument
|
/frameworks/base/media/jni/ |
H A D | 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 298 setMediaExtractor( JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) argument 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...] |
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
H A D | ColorExtractorTest.java | 86 ColorExtractor extractor = new ColorExtractor(mContext, type); 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)); 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/include/media/stagefright/ |
H A D | InterfaceUtils.h | 44 MediaExtractor *extractor, 53 const sp<RemoteMediaExtractor> &extractor,
|
H A D | RemoteMediaExtractor.h | 32 MediaExtractor *extractor, 54 MediaExtractor *extractor,
|
H A D | RemoteMediaSource.h | 30 const sp<RemoteMediaExtractor> &extractor, 49 const sp<RemoteMediaExtractor> &extractor,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | InterfaceUtils.h | 44 MediaExtractor *extractor, 53 const sp<RemoteMediaExtractor> &extractor,
|
H A D | RemoteMediaExtractor.h | 32 MediaExtractor *extractor, 54 MediaExtractor *extractor,
|
H A D | RemoteMediaSource.h | 30 const sp<RemoteMediaExtractor> &extractor, 49 const sp<RemoteMediaExtractor> &extractor,
|
/frameworks/av/cmds/stagefright/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/frameworks/av/include/media/ |
H A D | IMediaExtractor.h | 77 const sp<IMediaExtractor> &extractor, 82 const sp<IMediaExtractor> &extractor,
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaExtractor.h | 77 const sp<IMediaExtractor> &extractor, 82 const sp<IMediaExtractor> &extractor,
|
/frameworks/av/media/libmedia/ |
H A D | IMediaExtractor.cpp | 218 wp<IMediaExtractor> extractor; member in struct:android::__anon384 231 if (extractor.promote() == NULL) { 263 sp<IMediaExtractor> extractor = instance.extractor.promote(); local 264 if (extractor != NULL && extractor == ex) { 281 const sp<IMediaExtractor> &extractor, 286 ex.name = extractor->name(); 289 ex.extractor = extractor; 280 registerMediaExtractor( const sp<IMediaExtractor> &extractor, const sp<DataSource> &source, const char *mime) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | TypefaceCompatBaseImpl.java | 51 private static <T> T findBestFont(T[] fonts, int style, StyleExtractor<T> extractor) { argument 59 final int score = (Math.abs(extractor.getWeight(font) - targetWeight) * 2) 60 + (extractor.isItalic(font) == isTargetItalic ? 0 : 1);
|