Home
last modified time | relevance | path

Searched refs:FontFamilyResult (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/provider/
DFontsContract.java255 public static class FontFamilyResult { class in FontsContract
295 public FontFamilyResult(@FontResultStatus int statusCode, @Nullable FontInfo[] fonts) { in FontFamilyResult() method in FontsContract.FontFamilyResult
354 FontFamilyResult result = fetchFonts(sContext, null, request); in getFontSync()
355 if (result.getStatusCode() == FontFamilyResult.STATUS_OK) { in getFontSync()
506 FontFamilyResult result; in requestFonts()
522 if (result.getStatusCode() != FontFamilyResult.STATUS_OK) { in requestFonts()
524 case FontFamilyResult.STATUS_WRONG_CERTIFICATES: in requestFonts()
528 case FontFamilyResult.STATUS_UNEXPECTED_DATA_PROVIDED: in requestFonts()
592 public static @NonNull FontFamilyResult fetchFonts( in fetchFonts()
597 return new FontFamilyResult(FontFamilyResult.STATUS_REJECTED, null); in fetchFonts()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java33 import android.provider.FontsContract.FontFamilyResult;
160 FontFamilyResult result = FontsContract.fetchFonts( in typefaceNotCacheTest()
162 assertEquals(FontFamilyResult.STATUS_OK, result.getStatusCode()); in typefaceNotCacheTest()
166 FontFamilyResult result2 = FontsContract.fetchFonts( in typefaceNotCacheTest()
168 assertEquals(FontFamilyResult.STATUS_OK, result2.getStatusCode()); in typefaceNotCacheTest()
183 FontFamilyResult result = FontsContract.fetchFonts( in typefaceNullFdTest()
/frameworks/base/config/
Dpreloaded-classes3007 android.provider.FontsContract$FontFamilyResult
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...