Searched defs:assetPath (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java114 public static String readAsset(Context context, String assetPath) throws IOException { argument
118 context.getResources().getAssets().open(assetPath)))) {
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DMetadataRepo.java122 * @param assetPath asset manager path of the file that the Typeface and metadata will be
126 final String assetPath) throws IOException {
127 final Typeface typeface = Typeface.createFromAsset(assetManager, assetPath);
128 return new MetadataRepo(typeface, MetadataListReader.read(assetManager, assetPath));
125 create(@onNull final AssetManager assetManager, final String assetPath) argument
H A DMetadataListReader.java101 * @param assetPath asset manager path of the file that the Typeface and metadata will be
104 static MetadataList read(AssetManager assetManager, String assetPath) argument
106 try (InputStream inputStream = assetManager.open(assetPath)) {
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
H A DFontRequestEmojiCompatConfigTest.java243 private static void copyToCacheFile(final Context context, final String assetPath, argument
245 try (InputStream is = context.getAssets().open(assetPath, ACCESS_BUFFER);
/frameworks/base/core/java/android/app/
H A DResourcesManager.java921 * assetPath.
922 * @param assetPath The main asset path for which to add the library asset path.
925 public void appendLibAssetForMainAssetPath(String assetPath, String libAsset) { argument
936 if (impl != null && Objects.equals(key.mResDir, assetPath)) {
/frameworks/base/tools/aapt/
H A DCommand.cpp767 const String8& assetPath = bundle->getPackageIncludes()[i]; local
768 if (!assets.addAssetPath(assetPath, NULL)) {
769 fprintf(stderr, "ERROR: included asset path %s could not be loaded\n", assetPath.string());
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java2066 public String readTestAsset(String assetPath) throws IOException { argument
2070 getTestContext().getResources().getAssets().open(assetPath)))) {

Completed in 9585 milliseconds