/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 43 static LayoutPiece buildLayout(const std::string& text, std::shared_ptr<FontCollection> fc) { in buildLayout() argument 44 MinikinPaint paint(fc); in buildLayout() 50 const std::string& text, std::shared_ptr<FontCollection> fc) { in buildLayoutAndBounds() argument 51 MinikinPaint paint(fc); in buildLayoutAndBounds() 60 static LayoutPiece buildLayout(const std::string& text, std::shared_ptr<FontCollection> fc, in buildLayout() argument 62 MinikinPaint paint(fc); in buildLayout() 91 auto fc = makeFontCollection({"LayoutTestFont.ttf"}); in TEST() local 92 auto layout = buildLayout("I", fc); in TEST() 104 auto fc = makeFontCollection({"LayoutTestFont.ttf"}); in TEST() local 105 auto layout = buildLayout("II", fc); in TEST() [all …]
|
D | SystemFontsTest.cpp | 47 const std::shared_ptr<FontCollection>& fc) { in registerFallback() argument 48 registerFallbackInternal(familyName, fc); in registerFallback() 51 void registerDefault(const std::shared_ptr<FontCollection>& fc) { registerDefaultInternal(fc); } in registerDefault() argument 56 auto fc = buildFontCollection("Ascii.ttf"); in TEST() local 57 systemFonts.registerFallback("sans", fc); in TEST() 58 EXPECT_EQ(fc, systemFonts.findFontCollection("sans")); in TEST() 63 auto fc = buildFontCollection("Ascii.ttf"); in TEST() local 64 systemFonts.registerDefault(fc); in TEST() 65 EXPECT_EQ(fc, systemFonts.findFontCollection("unknown-name")); in TEST()
|
D | FontCollectionTest.cpp | 44 void expectVSGlyphs(const FontCollection* fc, uint32_t codepoint, const std::set<uint32_t>& vsSet) { in expectVSGlyphs() argument 51 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs() 54 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs() 60 void expectVSGlyphsForVsTestFont(const FontCollection* fc) { in expectVSGlyphsForVsTestFont() argument 61 EXPECT_FALSE(fc->hasVariationSelector(0x82A6, 0)); in expectVSGlyphsForVsTestFont() 62 expectVSGlyphs(fc, 0x82A6, std::set<uint32_t>({0xFE00, 0xFE0E, 0xE0100, 0xE0101, 0xE0102})); in expectVSGlyphsForVsTestFont() 64 EXPECT_FALSE(fc->hasVariationSelector(0x845B, 0)); in expectVSGlyphsForVsTestFont() 65 expectVSGlyphs(fc, 0x845B, std::set<uint32_t>({0xFE01, 0xFE0E, 0xE0101, 0xE0102, 0xE0103})); in expectVSGlyphsForVsTestFont() 67 EXPECT_FALSE(fc->hasVariationSelector(0x537F, 0)); in expectVSGlyphsForVsTestFont() 68 expectVSGlyphs(fc, 0x537F, std::set<uint32_t>({0xFE0E})); in expectVSGlyphsForVsTestFont() [all …]
|
D | LayoutTest.cpp | 445 auto fc = buildFontCollection("LayoutTestFont.ttf"); in TEST_F() local 447 MinikinPaint paint(fc); in TEST_F() 460 MinikinPaint paint(fc); in TEST_F() 474 MinikinPaint paint(fc); in TEST_F()
|
D | LayoutLetterSpacingTest.cpp | 92 auto fc = buildFontCollection(font); in setShapeParam() local 93 mPaint = std::make_unique<MinikinPaint>(fc); in setShapeParam()
|
D | GreedyLineBreakerTest.cpp | 91 auto fc = FontCollection::create(families); in doLineBreakForJapanese() local 92 MinikinPaint paint(fc); in doLineBreakForJapanese() 112 auto fc = FontCollection::create(families); in doLineBreakForKorean() local 113 MinikinPaint paint(fc); in doLineBreakForKorean() 133 auto fc = FontCollection::create(families); in doLineBreak() local 134 MinikinPaint paint(fc); in doLineBreak() 154 auto fc = FontCollection::create(families); in doLineBreakWithNoHyphenSpan() local 156 MinikinPaint paint(fc); in doLineBreakWithNoHyphenSpan() 163 MinikinPaint paint(fc); in doLineBreakWithNoHyphenSpan() 170 MinikinPaint paint(fc); in doLineBreakWithNoHyphenSpan() [all …]
|
D | OptimalLineBreakerTest.cpp | 82 auto fc = FontCollection::create(families); in doLineBreak() local 83 MinikinPaint paint(fc); in doLineBreak() 100 auto fc = FontCollection::create(families); in doLineBreakForJapanese() local 101 MinikinPaint paint(fc); in doLineBreakForJapanese() 117 auto fc = FontCollection::create(families); in doLineBreakWithNoHyphenSpan() local 119 MinikinPaint paint(fc); in doLineBreakWithNoHyphenSpan() 125 MinikinPaint paint(fc); in doLineBreakWithNoHyphenSpan() 131 MinikinPaint paint(fc); in doLineBreakWithNoHyphenSpan() 150 auto fc = FontCollection::create(families); in doLineBreakForBounds() local 151 MinikinPaint paint(fc); in doLineBreakForBounds() [all …]
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | SessionStatsBuilderTest.cpp | 37 int64_t fc = 0; in TEST() local 38 for (size_t i = 0; i < 10; i++, fc++) b.incFpsRequestedCount(30, 30, fc); in TEST() 39 for (size_t i = 0; i < 15; i++, fc++) b.incFpsRequestedCount(15, 30, fc); in TEST() 40 for (size_t i = 0; i < 20; i++, fc++) b.incFpsRequestedCount(15, 15, fc); in TEST() 41 for (size_t i = 0; i < 10; i++, fc++) b.incFpsRequestedCount(60, 60, fc); in TEST() 59 fc = 0; in TEST() 62 for (size_t i = 0; i < count - range; i++, fc++) b.incFpsRequestedCount(range, range, fc); in TEST()
|
/frameworks/minikin/include/minikin/ |
D | SystemFonts.h | 39 const std::shared_ptr<FontCollection>& fc) { in registerFallback() argument 40 return getInstance().registerFallbackInternal(familyName, fc); in registerFallback() 43 static void registerDefault(const std::shared_ptr<FontCollection>& fc) { in registerDefault() argument 44 return getInstance().registerDefaultInternal(fc); in registerDefault() 65 const std::shared_ptr<FontCollection>& fc) { in registerFallbackInternal() argument 67 mSystemFallbacks[familyName] = fc; in registerFallbackInternal() 70 void registerDefaultInternal(const std::shared_ptr<FontCollection>& fc) { in registerDefaultInternal() argument 72 mDefaultFallback = fc; in registerDefaultInternal()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsService.java | 254 Intent.FilterComparison fc = new Intent.FilterComparison(intent); in onDestroy() local 255 if (RemoteViewsService.sRemoteViewFactories.containsKey(fc)) { in onDestroy() 256 RemoteViewsFactory factory = RemoteViewsService.sRemoteViewFactories.get(fc); in onDestroy() 263 RemoteViewsService.sRemoteViewFactories.remove(fc); in onDestroy() 288 Intent.FilterComparison fc = new Intent.FilterComparison(intent); in onBind() local 291 if (!sRemoteViewFactories.containsKey(fc)) { in onBind() 293 sRemoteViewFactories.put(fc, factory); in onBind() 297 factory = sRemoteViewFactories.get(fc); in onBind()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerCompatTest.java | 163 ImsFeatureContainer fc = in validateMmTelFeatureContainerExists() local 165 assertNotNull("MMTEL FeatureContainer should not be null", fc); in validateMmTelFeatureContainerExists() 167 mMmTelCompatAdapterSpy.getBinder(), fc.imsFeature); in validateMmTelFeatureContainerExists() 169 & fc.getCapabilities())); in validateMmTelFeatureContainerExists() 173 ImsFeatureContainer fc = in validateMmTelFeatureContainerDoesntExist() local 175 assertNull("FeatureContainer should be null", fc); in validateMmTelFeatureContainerDoesntExist()
|
D | ImsServiceControllerTest.java | 1423 ImsFeatureContainer fc = in validateMmTelFeatureContainerExists() local 1425 assertNotNull("MMTEL FeatureContainer should not be null", fc); in validateMmTelFeatureContainerExists() 1427 mMockMmTelBinder, fc.imsFeature); in validateMmTelFeatureContainerExists() 1428 assertTrue((ImsService.CAPABILITY_EMERGENCY_OVER_MMTEL & fc.getCapabilities()) == 0); in validateMmTelFeatureContainerExists() 1432 ImsFeatureContainer fc = in validateMmTelFeatureContainerExistsWithEmergency() local 1434 assertNotNull("MMTEL FeatureContainer should not be null", fc); in validateMmTelFeatureContainerExistsWithEmergency() 1436 mMockMmTelBinder, fc.imsFeature); in validateMmTelFeatureContainerExistsWithEmergency() 1437 assertTrue((ImsService.CAPABILITY_EMERGENCY_OVER_MMTEL | fc.getCapabilities()) > 0); in validateMmTelFeatureContainerExistsWithEmergency() 1441 ImsFeatureContainer fc = in validateFeatureContainerExistsWithSipDelegate() local 1443 assertNotNull("FeatureContainer should not be null", fc); in validateFeatureContainerExistsWithSipDelegate() [all …]
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsFeatureBinderRepositoryTest.java | 89 ImsFeatureContainer fc = in testGetInterfaceExists() local 91 mRepository.addConnection(TEST_PHONE_ID_1, TEST_SUB_ID_3, ImsFeature.FEATURE_MMTEL, fc); in testGetInterfaceExists() 96 fc, resultFc); in testGetInterfaceExists() 102 ImsFeatureContainer fc = in testGetInterfaceDoesntExist() local 105 assertNull("returned connection should be null!", fc); in testGetInterfaceDoesntExist() 111 ImsFeatureContainer fc = in testGetInterfaceRemoveDoesntExist() local 113 mRepository.addConnection(TEST_PHONE_ID_1, TEST_SUB_ID_3, ImsFeature.FEATURE_MMTEL, fc); in testGetInterfaceRemoveDoesntExist() 359 ImsFeatureContainer fc) throws Exception { in verifyFeatureCreatedCalled() argument 360 verify(cb, times(timesCalled)).imsFeatureCreated(fc, TEST_SUB_ID_3); in verifyFeatureCreatedCalled()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 141 final FileChannel fc = fis.getChannel(); in Builder() local 142 mBuffer = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size()); in Builder() 168 final FileChannel fc = fis.getChannel(); in Builder() local 169 size = (size == -1) ? fc.size() - offset : size; in Builder() 170 mBuffer = fc.map(FileChannel.MapMode.READ_ONLY, offset, size); in Builder() 281 final FileChannel fc = fis.getChannel(); in createBuffer() local 284 return fc.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in createBuffer()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | BulkPerfTest.java | 109 FileChannel fc = raf.getChannel(); in newBuffer() local 110 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
|
D | ByteBufferPerfTest.java | 106 FileChannel fc = raf.getChannel(); in newBuffer() local 107 result = fc.map(FileChannel.MapMode.READ_WRITE, 0, fc.size()); in newBuffer()
|
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/ |
D | valid-cert.pem | 93 ae:ad:7e:46:87:fa:fc:3a:16:4b:37:81:2c:16:15: 109 7a:fc:18:6d:54:47:31:59:b2:f4:36:aa:ce:c3:fc: 112 fc:76:9f:ea:98:1d:a4:66:5b:54:62:84:16:66:95: 160 e3:f5:26:6b:d7:0d:4b:d4:f3:c9:a3:e2:a3:b1:16:af:56:fc: 168 e1:9a:9c:fd:23:9a:01:93:21:00:65:8b:a7:4a:fc:d8:ff:d4: 170 56:cd:5f:f0:18:3e:dc:8e:30:e5:6d:fc:ec:98:60:9f:67:c8: 172 4a:65:0e:f0:2f:b4:7a:8c:aa:e3:fc:6b:42:0d:ec:b5:5a:bd: 177 8d:63:ab:7a:f1:d2:f9:0b:fc:71:02:fe:66:11:0f:30:18:99: 200 73:bc:82:55:03:a7:2e:38:09:fc:18:51:2c:ad:be:c6:37:6d:
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.cpp | 240 LVM_UINT32 fc; /* Filter centre frequency */ in LVPSA_SetBPFiltersType() local 247 fc = (LVM_UINT32)pInst->pFiltersParams[ii] in LVPSA_SetBPFiltersType() 256 if ((LOW_FREQ * fs) >= (fc << 15)) { in LVPSA_SetBPFiltersType() 262 if (((LOW_FREQ * fs) < (fc << 15)) && ((fc << 15) < (HIGH_FREQ * fs)) && in LVPSA_SetBPFiltersType()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Control.cpp | 137 LVM_UINT32 fc; /* Filter centre frequency */ in LVEQNB_SetFilters() local 145 fc = (LVM_UINT32)pParams->pBandDefinition[i].Frequency; /* Get the band centre frequency */ in LVEQNB_SetFilters() 152 if (fc > (fs >> 1)) { in LVEQNB_SetFilters()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/ |
D | ReverbContext.cpp | 406 for (int fc = frameCount; fc > 0;) { in process() local 407 int processFrames = std::min(fc, kMaxBlockFrames); in process() 418 fc -= processFrames; in process()
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillEventHistory.java | 470 final FieldClassification fc = mDetectedFieldClassifications[i]; in getFieldsClassification() local 472 Log.v(TAG, "getFieldsClassification[" + i + "]: id=" + id + ", fc=" + fc); in getFieldsClassification() 474 map.put(id, fc); in getFieldsClassification()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 311 std::shared_ptr<minikin::FontCollection> fc = in AFontMatcher_match() local 313 std::vector<minikin::FontCollection::Run> runs = fc->itemize( in AFontMatcher_match() 321 fc->getBestFont(minikin::U16StringPiece(text, textLength), runs[0], matcher->mFontStyle) in AFontMatcher_match()
|
/frameworks/base/tests/LegacyRestoreTest/ |
D | jbmr2-encrypted-settings-abcd.ab | 14 �&d?�6g1g�K��^�?�(<Ȭ��F�R���2]����?e�p��� EO���3����{n{��Sn$��� ��fcʲ1i�Bu�z�1z��XG��E�K�…
|
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/ |
D | macro_assembler_constants_pool.h | 95 extern const int32_t kVectorConst<uint64_t{0x7fc'00000'7fc'00000}>;
|
/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 513 OffsetCorrectFileChannel(FileChannel fc) { in OffsetCorrectFileChannel() argument 514 mDelegate = fc; in OffsetCorrectFileChannel()
|